mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-28 17:20:47 +08:00
af27e8a421
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>
203 B
203 B
% pandoc -f mediawiki -t native
____INDEX____
__NOINDEX__
__noindex__
__FOOBAR__
^D
[ Para
[ Str "____"
, SoftBreak
, Str "__noindex__"
, SoftBreak
, Str "__FOOBAR__"
]
]