node.js - Using jade with wysiwyg markdown to allow users to edit content -
i believe don't re-invent wheel unless absolutely have to. don't want start coding away has been coded, or lot of people contributing already.
i have emigrated planet node.js (sorry php/apache), , need put resources bring things speed other languages.
i using node.js server listener, express.js middle-ware, , jade js template engine.
i use tinymce features instead of code being usual ugly html markup
, code markdown
, allow jade majic. suppose more or less stackoverflow edit (which typing in) maybe little more advanced ui wise.
so instance if click on button b should make selected text bold would, wysiwyg editors.
references:
you use of html generating wysiwyg editors, , on "save", allow html pass server convert jade syntax before storing it.
you integrate package, example, express server:
https://www.npmjs.org/package/html2jade
html2jade.converthtml(html, {}, function (err, jade) { // save jade db });
Comments
Post a Comment