aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2025-12-02 12:03:15 +0100
committerJohn MacFarlane <[email protected]>2025-12-02 12:04:36 +0100
commitb9b6ba08056b6ef2a395a6478c7b065f967a020f (patch)
tree5184ea59ae66f2c0773d83f6ed41e47df10af04d /test
parent92e35d1b90ed90da0c584842ec44e462a79e167d (diff)
Texinfo writer: improve handling of certain code blocks.
MediaWiki, for example, will parse a code block containing formatting as a sequence of Code elements separated by LineBreaks. For this we now use a texinfo example block. Closes #11312.
Diffstat (limited to 'test')
-rw-r--r--test/command/11312.md21
1 files changed, 21 insertions, 0 deletions
diff --git a/test/command/11312.md b/test/command/11312.md
new file mode 100644
index 000000000..57bf287cd
--- /dev/null
+++ b/test/command/11312.md
@@ -0,0 +1,21 @@
+```
+% pandoc -f mediawiki -t texinfo
+foofoo
+
+ bar
+ baz
+
+foofoo
+^D
+@node Top
+@top Top
+
+foofoo
+
+@example
+bar
+baz
+@end example
+
+foofoo
+```