diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-17 11:26:17 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-17 11:26:17 +0000 |
commit | 5df6c2aefebe3d2abcc939a88e294876d59f03ca (patch) | |
tree | 63fb332a0f21ddb91cb789c80cf64e134d373463 /t/fmt/txt-markdown/PandocFencedCodeBlocks.trans | |
parent | Initial commit. (diff) | |
download | po4a-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.trans | 68 |
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. |