I have a question and this one might not even be relevant, but I would like to know if this is possible.
I'm building an open-source CMS written in Node.js called Spectrum. I have come across this awesome Markdown Parser called Kramdown 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.
I have zero
knowledge about Ruby
and this is my first time touching it.
I finally got the app running followed this Demo.
Now I want this editor to be able to interact with my node.js app.
If the user visit this route:
http://localhost:3000/new-post
The editor will be render and the user can enter some content and publish this directly.
If the user visit this route:
http://localhot:3000/hello-world/edit
It should render the editor with some content, and that content is being sent by node.js which retrieved from the database.
Can I do something crazy like this?
Reason why I want this kramdown
on my CMS.
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 Kramdown
.
I have tried Pagedown
It was good, but missing a lot of features, so I found
PageDown Extra, and it is still missing some of what I really want in it.
I found one of the best "Editor" Stackedit, but this is way too heavy and have too many features that really making my editor going way too slow to be used.
Then I start writing my own Markdown parser using Regex
passion coming from this blog post, but really that is going to take me a lot of times because I'm not an expert with Regex
but I'm getting the hang of it.
I've also tried Marked
So what I really want now is. Any editor/parser that can do something similar to Kramdown
and can be integrated with my node.js
app.