summaryrefslogtreecommitdiffstats
path: root/t/fmt/txt-markdown/PandocFencedCodeBlocks.norm
diff options
context:
space:
mode:
Diffstat (limited to 't/fmt/txt-markdown/PandocFencedCodeBlocks.norm')
-rw-r--r--t/fmt/txt-markdown/PandocFencedCodeBlocks.norm68
1 files changed, 68 insertions, 0 deletions
diff --git a/t/fmt/txt-markdown/PandocFencedCodeBlocks.norm b/t/fmt/txt-markdown/PandocFencedCodeBlocks.norm
new file mode 100644
index 0000000..8098a83
--- /dev/null
+++ b/t/fmt/txt-markdown/PandocFencedCodeBlocks.norm
@@ -0,0 +1,68 @@
+~~~~~~~
+if (a > 3) {
+ moveShip(5 * gravity, DOWN);
+}
+~~~~~~~
+
+~~~~~~~~~~~~~~~~
+~~~~~~~~~~
+code including tildes
+line2
+~~~~~~~~~~
+~~~~~~~~~~~~~~~~
+
+~~~~ {#mycode .haskell .numberLines startFrom="100"}
+qsort [] = []
+qsort (x:xs) = qsort (filter (< x) xs) ++ [x] ++
+ qsort (filter (>= x) xs)
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+~~~haskell
+qsort [] = []
+qsort (x:xs) = qsort (filter (< x) xs) ++ [x] ++
+ qsort (filter (>= x) xs)
+~~~
+
+```````
+if (a > 3) {
+ moveShip(5 * gravity, DOWN);
+}
+```````
+
+````````````````
+``````````
+code including backticks
+line2
+``````````
+````````````````
+
+```` {#mycode .haskell .numberLines startFrom="100"}
+qsort [] = []
+qsort (x:xs) = qsort (filter (< x) xs) ++ [x] ++
+ qsort (filter (>= x) xs)
+`````````````````````````````````````````````````
+
+```haskell
+qsort [] = []
+qsort (x:xs) = qsort (filter (< x) xs) ++ [x] ++
+ qsort (filter (>= x) xs)
+```
+
+This first pandoc fenced_div is non-nested.
+
+::::: {#special .sidebar}
+Here is a paragraph.
+
+And another.
+:::::
+The second pandoc fenced div is nested.
+
+::: Warning ::::::
+This is a warning.
+
+::: Danger
+This is a warning within a warning.
+:::
+::::::::::::::::::
+
+Some extra text.