Hi,

last push completed markdown support on the WYIWYG editor. Right now
there's a markdown parser, a markdown renderer, a WYIWYG editor
renderer, and an html from the WYIWYG editor to markdown syntax
converter. [#1] has a bit more info on this.

The only item left, in order to have full Markdown support inside
JSPWiki, is making the plain editor able to also output Markdown
syntax when using the "snips" functionality, but I have no idea on
what's the best way to accomodate this requirement. Right now the
aforementioned parser, renderers, etc. are pluggable, so if anyone
would want to write an extension to provide, say JIRA wiki markup
support, it is possible to do so.

Ideally, markdown support on the plain editor should be pluggable as
well and allow third party wiki syntaxes.

I've thought of providing the appropiate wiki syntax to the js files
the same way I18N texts are passed, using the IncludeResources tag on
the commonheader.jsp file, but I'm neither sure which files should be
provided, nor javascript is one of my strong suits. Or maybe if it
should be output a javascript object with the appropiate syntax, and
modify whatever js files are required to read the markup snips (or
whatever is needed) from this object?

Dirk, WDYT?


best regards,
juan pablo

[#1]: https://jspwiki-wiki.apache.org/Wiki.jsp?page=Markdown%20Support

Reply via email to