diff options
Diffstat (limited to 't/fmt/txt-markdown/PandocFencedCodeBlocks.md')
-rw-r--r-- | t/fmt/txt-markdown/PandocFencedCodeBlocks.md | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/t/fmt/txt-markdown/PandocFencedCodeBlocks.md b/t/fmt/txt-markdown/PandocFencedCodeBlocks.md new file mode 100644 index 0000000..8098a83 --- /dev/null +++ b/t/fmt/txt-markdown/PandocFencedCodeBlocks.md @@ -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. |