Files
pandoc/test/command/mediawiki_behavior_switches.md
T
Anton Melnikov af27e8a421 MediaWiki reader: add behavior switches support (#11354)
MediaWiki format supports [magic
words](https://www.mediawiki.org/wiki/Help:Magic_words). These are
basically built-in templates. This commit introduces support for behavior
switches, which is one of the three types of magic words. They add
a field to metadata without producing any text.

Signed-off-by: botantony <antonsm21@gmail.com>
2025-12-20 21:27:28 -08:00

203 B

% pandoc -f mediawiki -t native
____INDEX____
__NOINDEX__
__noindex__
__FOOBAR__
^D
[ Para
    [ Str "____"
    , SoftBreak
    , Str "__noindex__"
    , SoftBreak
    , Str "__FOOBAR__"
    ]
]