mediawiki reader: markup should be active in tt, code, and simple preformatted text #2607
stm2
commented
Pandoc's Code and CodeBlock constructors only take a string as value, so you can't actually embed formatted text in them. We could work around this by turning
<code>'''hello''' <br />world</code>
into
[Strong [Code "hello"], Code " ", LineBreak, Code " world"]
but this is less straightforward to implement.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
renders as
but should produce
Character formatting is only inactive inside
<pre>
tags, see https://www.mediawiki.org/wiki/Help:Formatting