MediaWiki-MarkdownExtraParser
MediaWiki-MarkdownExtraParser copied to clipboard
Don't parse `source` and `syntaxhighlight`blocks
I use the SyntaxHighlighter extension. MediaWiki-MarkdownExtraParser seems to parse Code in source and syntaxhighlight blocks.
How can I make it stop?
Hmm, yea, we definitely shouldn't parse code in code blocks, but this library shouldn't care about a 3rd party's custom tags. The library might be able to allow a configuration for which elements to ignore... I'd be happy to take a pull request. :)
OK cool. I'd like to keep this issue open for now as a reminder to myself. I hope I'll find some time soon to send you a PR we can discuss. Maybe this is also interesting to @klml ?
Yea, absolutely. We can leave this open and hopefully tend to it in the nearish future. :+1:
Any Updates yet? I just encountered the same issue... I also added it on the Discuss-Page: https://www.mediawiki.org/wiki/Extension_talk:MarkdownExtraParser
Okay, there seems to be a problem with the docodeblocks function...
Nothing from me unfortunately. I cannot summon the time to delve into PHP, sorry :(