From 8e599f214f58cfa0f6bf85dc1668dac444e89e29 Mon Sep 17 00:00:00 2001 From: crc Date: Fri, 21 Feb 2020 20:03:50 +0000 Subject: [PATCH] html export: fix crash on # with no spaces following FossilOrigin-Name: 78eb3332d9dfd7a83f425c63aefa49708078334d43223c2512edab0775f12224 --- example/export-as-html.retro | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/example/export-as-html.retro b/example/export-as-html.retro index 98aba72..e750b23 100755 --- a/example/export-as-html.retro +++ b/example/export-as-html.retro @@ -41,6 +41,42 @@ not adding support for the various linking formats, ordered lists, underlined headers, doubled asterisk, doubled underscores, multiple line/paragraph list entries, or images. +The formatting must follow the following limits: + + # Title + ## Subtitle + ### Level 3 Title + + Paragraph. *Bold*, _italics_, `inline code`. + + Another paragraph. + + - list element + - list element + - nested list element + - nested list element + - list element + + ~~~ + :retro code ; + ~~~ + + ``` + tests + ``` + + Sample code or output with four leading spaces is + note colorized. + + this will be code, but not run through the + colorizer. + + More paragraph text. + + ---- + + Above is a horizontal separator. + ---- ## The Code