From 5df6c2aefebe3d2abcc939a88e294876d59f03ca Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 17 Jun 2024 13:26:17 +0200 Subject: Adding upstream version 0.72. Signed-off-by: Daniel Baumann --- t/fmt/txt-markdown/PandocFencedCodeBlocks.trans | 68 +++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 t/fmt/txt-markdown/PandocFencedCodeBlocks.trans (limited to 't/fmt/txt-markdown/PandocFencedCodeBlocks.trans') 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. -- cgit v1.2.3