summaryrefslogtreecommitdiffstats
path: root/t/fmt/txt-markdown/PandocFencedCodeBlocks.trans
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-17 11:26:17 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-17 11:26:17 +0000
commit5df6c2aefebe3d2abcc939a88e294876d59f03ca (patch)
tree63fb332a0f21ddb91cb789c80cf64e134d373463 /t/fmt/txt-markdown/PandocFencedCodeBlocks.trans
parentInitial commit. (diff)
downloadpo4a-5df6c2aefebe3d2abcc939a88e294876d59f03ca.tar.xz
po4a-5df6c2aefebe3d2abcc939a88e294876d59f03ca.zip
Adding upstream version 0.72.upstream/0.72
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 't/fmt/txt-markdown/PandocFencedCodeBlocks.trans')
-rw-r--r--t/fmt/txt-markdown/PandocFencedCodeBlocks.trans68
1 files changed, 68 insertions, 0 deletions
diff --git a/t/fmt/txt-markdown/PandocFencedCodeBlocks.trans b/t/fmt/txt-markdown/PandocFencedCodeBlocks.trans
new file mode 100644
index 0000000..9e8ce46
--- /dev/null
+++ b/t/fmt/txt-markdown/PandocFencedCodeBlocks.trans
@@ -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.