title: Running Node.js app with Ruby app together
body: <p>I have a question and this one might not even be relevant, but I would like to know if this is possible.</p>
  
  <p>I'm building an open-source CMS written in Node.js called <a href="http://github.com/alicoding/spectrum" rel="nofollow">Spectrum</a>. I have come across this awesome Markdown Parser called <a href="http://kramdown.rubyforge.org/syntax.html" rel="nofollow">Kramdown</a> The beautiful thing with this parser is that it works with Markdown, Markup and extra cool stuff and I really want to have this in my Node.js app.</p>
  
  <p>I have <code>zero</code> knowledge about <code>Ruby</code> and this is my first time touching it.</p>
  
  <p>I finally got the app running followed this <a href="https://github.com/pjamest/kramdown-demo" rel="nofollow">Demo</a>.</p>
  
  <p>Now I want this editor to be able to interact with my node.js app.</p>
  
  <p>If the user visit this route:</p>
  
  <p><code>http://localhost:3000/new-post</code></p>
  
  <p>The editor will be render and the user can enter some content and publish this directly.</p>
  
  <p>If the user visit this route:</p>
  
  <p><code>http://localhot:3000/hello-world/edit</code></p>
  
  <p>It should render the editor with some content, and that content is being sent by node.js which retrieved from the database.</p>
  
  <p>Can I do something crazy like this?</p>
  
  <h2>Reason why I want this <code>kramdown</code> on my CMS.</h2>
  
  <p>I was looking for the best Markdown editor/parser for my CMS and really I have spent a lot of times on researching already and never found anything that really can tell me that this is what I want until I found <code>Kramdown</code>.</p>
  
  <p>I have tried <a href="https://code.google.com/p/pagedown/" rel="nofollow">Pagedown</a></p>
  
  <p>It was good, but missing a lot of features, so I found</p>
  
  <p><a href="https://github.com/jmcmanus/pagedown-extra" rel="nofollow">PageDown Extra</a>, and it is still missing some of what I really want in it.</p>
  
  <p>I found one of the best "Editor" <a href="http://benweet.github.io/stackedit/" rel="nofollow">Stackedit</a>, but this is way too heavy and have too many features that really making my editor going way too slow to be used.</p>
  
  <p>Then I start writing my own Markdown parser using <code>Regex</code> passion coming from this <a href="http://pzxc.com/simple-javascript-markdown-parsing-function" rel="nofollow">blog post</a>, but really that is going to take me a lot of times because I'm not an expert with <code>Regex</code> but I'm getting the hang of it.</p>
  
  <p>I've also tried <a href="https://github.com/chjj/marked" rel="nofollow">Marked</a></p>
  
  <p>So what I really want now is. Any editor/parser that can do something similar to <code>Kramdown</code> and can be integrated with my <code>node.js</code> app.</p>