diff options
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. |