Hi Pablo,

Good to see how this is progressing.

Happy to help on building the markdown support into the editor.
The SNIP editor is build to be pluggable,  and this would be a good test
case.
You should only provide a specific "Markdown.Snipe.Command.js" file.

Would you have a specific markdown editor JSP file or not ?


BR,
     dirk

On Thu, Jan 13, 2022 at 2:52 PM Juan Pablo Santos Rodríguez <
juanpablo.san...@gmail.com> wrote:

> 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