View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0022176||mantisbt||markdown||public||2017-01-12 01:38||2017-04-15 06:00|
|Target Version||Fixed in Version|
|Summary||0022176: Markdown preview support|
Add the ability to preview the output of markdown before submitting the issue, note, etc. That should happen using client side JS without submitting the form. So user can keep toggling between editing and previewing until it looks right.
|Tags||No tags attached.|
I don't know what the Mantis teams plans are for this, but I wrote a simple/rough plugin to do this that uses ajax to convert the markup in a text area. Only tested this in a browser. Need some feedback.
Gonna look forward for your plugin, since this would be a very useful feature, as I just posted a note on this bugtracker including a short code (and so, I embeded it in <code> tags), but without preview nor your-own-notes-edition rights, it turned out wrong...
Ie, if tipping
<code>$g_bottom_include_page = '...';</code>
Returned the plain text in the preview, then I would have removed the <code> tag myself.