开发者

WMD Markdown Editor with a custom preview

开发者 https://www.devze.com 2023-01-18 12:19 出处:网络
I\'d like to use WMD with PHP Markdown Extra. I don\'t need any new buttons in the editor, but I need the live preview to reflect the use of the extra markdown features, most notably tables.

I'd like to use WMD with PHP Markdown Extra. I don't need any new buttons in the editor, but I need the live preview to reflect the use of the extra markdown features, most notably tables.

Is there a W开发者_Go百科MD configuration option to use a preview generated server-side? Similar to the previewParserPath value for MarkItUp? If not, what are my other options?


I'm working on a cross-language markdown implementation here: http://code.google.com/p/mdown/

It's a derivative of showdown, which is the Markdown implementation used in wmd.

It's currently 99% working in PHP and javascript, with one small non-critical bug in the javascript version.

I intend to add the features from PHP Markdown Extra ASAP, so they'll be available in both the javascript and PHP versions. In fact this was the whole reason I started this project...

So, it's not really an answer I guess, but if you're patient this should be ready by some time next week. Or, if you want to try adding it yourself, I can give you access to the project and you can take a shot at it.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号