aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2025-11-04 14:08:57 +0100
committerJohn MacFarlane <[email protected]>2025-11-04 14:08:57 +0100
commit97f7a934608fe3cc973810b0f0e8bbc769115079 (patch)
tree3bd38c85c2e1f7d8bd9fbf9447ff8d41aa151004
parent22863a3e124215e6fd24efe55a5a99fb2d605e5b (diff)
Add command test for #9953.
-rw-r--r--test/command/9953.md29
1 files changed, 29 insertions, 0 deletions
diff --git a/test/command/9953.md b/test/command/9953.md
new file mode 100644
index 000000000..3a2100ec6
--- /dev/null
+++ b/test/command/9953.md
@@ -0,0 +1,29 @@
+```
+% pandoc -f markdown -t native -s
+---
+header-includes: |
+ \makeatletter
+ \let\old@verbatim@font=\verbatim@font
+ \def\verbatim@font{%
+ \fontsize{10}{12}%
+ \old@verbatim@font
+ }
+ \makeatother
+...
+^D
+Pandoc
+ Meta
+ { unMeta =
+ fromList
+ [ ( "header-includes"
+ , MetaBlocks
+ [ RawBlock
+ (Format "tex")
+ "\\makeatletter\n\\let\\old@verbatim@font=\\verbatim@font\n\\def\\verbatim@font{%\n\\fontsize{10}{12}%\n\\old@verbatim@font\n}\n\\makeatother"
+ ]
+ )
+ ]
+ }
+ []
+
+```