From d0519826a7db6e0d36a16a74238fc2ebdb98d225 Mon Sep 17 00:00:00 2001 From: crc Date: Wed, 16 Dec 2020 14:46:19 +0000 Subject: [PATCH] markdown-to-xhtml: minor commentary changes FossilOrigin-Name: 88ce84da9c8a1a0af6195b649b3a5baa3d986c814b8ab165c30452f6e5dac1ad --- example/markdown-to-xhtml.retro | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/example/markdown-to-xhtml.retro b/example/markdown-to-xhtml.retro index 4c1be3e..d8c2ae2 100755 --- a/example/markdown-to-xhtml.retro +++ b/example/markdown-to-xhtml.retro @@ -98,7 +98,9 @@ work nicely, so I start with some header stuff. '. s:put nl ~~~ -Locate and embed the CSS from the end of this file. +Locate and embed the CSS from the end of this file. The CSS +will be at the end of the file, starting with the line reading +"\#\# CSS". ~~~ ' s:put nl @@ -108,7 +110,7 @@ drop ' s:put nl ~~~ -Finish the header boilerplate text and switch to the body. +Finish the header boilerplate and switch to the body. ~~~ ' s:put nl @@ -135,12 +137,21 @@ that code output displays correctly. For regular text, there are a couple of inline formatting things to deal with. +These are: + +* emphasis +* strong (bold) +* escaped characters +* code + ~~~ 'Emphasis var 'Strong var 'Escape var 'Code var +~~~ +~~~ :format $` [ @Escape [ &Escape v:off $* c:put ] if; @Code n:zero? [ ' &Code v:on ]