summaryrefslogtreecommitdiff
path: root/macros/generic/markdown/tests/testfiles/lunamark-markdown/no-fenced-code.test
diff options
context:
space:
mode:
Diffstat (limited to 'macros/generic/markdown/tests/testfiles/lunamark-markdown/no-fenced-code.test')
-rw-r--r--macros/generic/markdown/tests/testfiles/lunamark-markdown/no-fenced-code.test22
1 files changed, 22 insertions, 0 deletions
diff --git a/macros/generic/markdown/tests/testfiles/lunamark-markdown/no-fenced-code.test b/macros/generic/markdown/tests/testfiles/lunamark-markdown/no-fenced-code.test
new file mode 100644
index 0000000000..aab1caa4fb
--- /dev/null
+++ b/macros/generic/markdown/tests/testfiles/lunamark-markdown/no-fenced-code.test
@@ -0,0 +1,22 @@
+<<<
+This test ensures that the Lua `fencedCode` option is disabled by default. The
+following fenced code block should resolve to a code spans.
+
+``` foo
+bar
+```
+
+~~~ foo
+bar
+~~~
+>>>
+codeSpan: fencedCode
+interblockSeparator
+codeSpan: foo bar
+interblockSeparator
+tilde
+tilde
+tilde
+tilde
+tilde
+tilde