Open huytd opened 8 years ago
As posting here is just creating new md files, can you tell what kind of preview do you have in mind?
During the writing, user must want to see the preview of his work, I think we can create a small web app inside this project to provide user a web page that generate the HTML from Markdown file he is working on.
Just like the Live preview in some editor :D
Like on stackoverflow/github etc? I think that's doable. I can work on it.. give me some time to check out the relevant packages
OK :D I think we can use Express to create a mini webserver, then use the generate function in generator.js
to take the .md
file, convert it to HTML data and serve with Express.
Actually, I have something like this in mind- https://github.com/evilstreak/markdown-js
We already have the markdown converter library here https://github.com/huytd/azeroth-js/blob/master/js/marked.js
Cool.. we can create a page for writing markdown using that itself then. How about a page which helps create a md file for the post?
Ability to preview post before publishing