综合编程

Using jade with wysiwyg markdown to allow users to edit content

微信扫一扫,分享到朋友圈

Using jade with wysiwyg markdown to allow users to edit content
0 0

I believe don't re-invent the wheel unless you absolutely have to. So I don't want to start coding away something that has already been coded, or a lot of people are contributing to it already.

I have just recently emigrated to planet Node.js
(sorry php/apache), and need to put resources together to bring things up to speed with other languages.

I am using
Node.js

as a server listener, with Express.js
as middle-ware, and jade
js as a template engine.

I would like to use a TinyMCE
like features but instead of the code being the usual ugly HTML markup
, I would like the code to be the markdown
and allow jade
to do its majic. I suppose it more or less like stackoverflow edit (which I am typing in) but maybe a little more advanced UI wise.

So for instance if I click on a button
B

it should make the selected text bold as you would, with any WYSIWYG editors.

References:

Problem courtesy of: Val

Node.js Recipes
感谢您的支持!

    Spotify Could Ban You for Using Ad-Blockers

    上一篇

    Labels as Values ​​in Online Editing Macros

    下一篇

    您也可能喜欢

    评论已经被关闭。

    插入图片

    热门分类