Hi Stefan,

> On 20 Dec 2016, at 10:44, Stefan Helmerichs <s...@form-solutions.de> wrote:
> 
> Hi again,
> 
> after meticulous testing, I found that the MediaWikiSyntax ([[...]])
> does not work for headings. Neither does:
> 
> XWiki 2.1 ([[.PageA||anchor="HHeading"]])

The MD 1.1 parser is using the XWiki 2. reference parsers for links and images. 
Apparently, it’s not handling parameters though. Would be nice if you could 
create a lira issue for this.

You should also know that I’ve started a rewrite of the MD support in XWiki by 
using flexmark-java since peg down is apparently EOL (see 
http://jira.xwiki.org/browse/MARKDOWN-16).

So far my POC looks interesting and I already have several of the tests passing 
but it’ll be able to replace the current implementation only when at least all 
current tests pass. There still is substantial work for this. I’m currently on 
holidays which is why I’m able to work a bit on this (since otherwise working 
on this is not really in the xwiki roadmap).  I’ll make sure your use case is 
supported.

However I can’t commit on anything ATM since I’m also trying to spend my 
holidays with my family and not on the computer all the time ;) lol

In the meantime it’s probably quite simple to add support for reference 
parameters with the current pegdown implementation.

Thanks
-Vincent

> XWiki 2.0 ([[label>>Space.Page#HHeading]])
> Confluence Markup ([#Heading], [HHeading], [#HHeading])
> Creole ([[#Heading]], [[#HHeading]])
> 
> So, right now, I am lost. Any more suggestions from anyone would be very
> much appreciated.
> 

Reply via email to