summaryrefslogtreecommitdiff
path: root/macros/generic/markdown/tests/testfiles/lunamark-markdown/content-blocks-language-map.test
diff options
context:
space:
mode:
Diffstat (limited to 'macros/generic/markdown/tests/testfiles/lunamark-markdown/content-blocks-language-map.test')
-rw-r--r--macros/generic/markdown/tests/testfiles/lunamark-markdown/content-blocks-language-map.test16
1 files changed, 16 insertions, 0 deletions
diff --git a/macros/generic/markdown/tests/testfiles/lunamark-markdown/content-blocks-language-map.test b/macros/generic/markdown/tests/testfiles/lunamark-markdown/content-blocks-language-map.test
new file mode 100644
index 0000000000..545be6893d
--- /dev/null
+++ b/macros/generic/markdown/tests/testfiles/lunamark-markdown/content-blocks-language-map.test
@@ -0,0 +1,16 @@
+\def\markdownOptionContentBlocks{true}
+\def\markdownOptionContentBlocksLanguageMap{markdown-languages-nonstandard.json}
+<<<
+This test ensures that the Lua `contentBlockLanguages` option correctly
+propagates through the plain TeX interface.
+
+/basename.WEIRDextension (title)
+>>>
+codeSpan: contentBlockLanguages
+interblockSeparator
+BEGIN contentBlockCode
+- suffix: weirdextension
+- language: weirdLANGUAGE
+- URI: basename.WEIRDextension
+- title: title
+END contentBlockCode