On 23 Jan 2017, at 17:14, Ludovic Dubost
<ludovic(a)xwiki.com> wrote:
Hi,
This is quite cool.. It seems to even work with XWiki macros and with
Wysiwyg ! How much is the wysiwyg part supposed to work ?
It’s supposed to work well. I’m sure there are edge cases not working but I’ve had some
users test it and they raised some issues that I have just fixed in this new release.
I found an issue though.. If you use the code macros
the parser seems to
try to transform it to ``` ... ``` instead of {{code}} {{/code}}
It is actually done on purpose:
https://github.com/xwiki-contrib/syntax-markdown/blob/64686aed191fbf755094c…
Since the XWiki XDOM doesn’t have a Code Block we are transforming backticks into a
{{code}} macro. Thus if we render it back as a wiki macro we loose the standard MD syntax
which is to use backticks.
We need to decide what we prefer but my preference was to use backticks since that’s the
traditional MD-way.
WDYT?
Thanks
-Vincent
Ludovic
--
*Ludovic Dubost*
*Founder and CEO*
ludovic(a)xwiki.com
skype: ldubost
Blog:
http://blog.ludovic.orgTry XWiki on the cloud
<http://www.xwiki.com/en/products/try-xwiki-cloud> - Try Cryptpad: Secure
realtime Wysiwyg Editing <https://cryptpad.fr>
On Mon, Jan 23, 2017 at 12:36 AM, Vincent Massol <vincent(a)massol.net> wrote:
> Hi Markdown lovers,
>
> Just wanted to announce that I’ve completely written XWiki support for the
> Markdown syntax (using flexmark-java instead of pegdown). It’s available as
> the “markdown/1.2” syntax inside of XWiki.
>
> See
http://extensions.xwiki.org/xwiki/bin/view/Extension/
> Markdown+Syntax+1.2 for details.
>
> Please try it out and let me know how it goes.
>
> If you find bugs please report them at
http://jira.xwiki.org/browse/
> MARKDOWN
>
> Thanks
> -Vincent
>
>