markdown-to-xhtml: minor commentary changes
FossilOrigin-Name: 88ce84da9c8a1a0af6195b649b3a5baa3d986c814b8ab165c30452f6e5dac1ad
This commit is contained in:
parent
4bcec9773e
commit
d0519826a7
1 changed files with 13 additions and 2 deletions
|
@ -98,7 +98,9 @@ work nicely, so I start with some header stuff.
|
||||||
'<title>.</title> s:put nl
|
'<title>.</title> 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".
|
||||||
|
|
||||||
~~~
|
~~~
|
||||||
'<style_type="text/css"> s:put nl
|
'<style_type="text/css"> s:put nl
|
||||||
|
@ -108,7 +110,7 @@ drop
|
||||||
'</style> s:put nl
|
'</style> s:put nl
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
Finish the header boilerplate text and switch to the body.
|
Finish the header boilerplate and switch to the body.
|
||||||
|
|
||||||
~~~
|
~~~
|
||||||
'</head><body> s:put nl
|
'</head><body> s:put nl
|
||||||
|
@ -135,12 +137,21 @@ that code output displays correctly.
|
||||||
For regular text, there are a couple of inline formatting things
|
For regular text, there are a couple of inline formatting things
|
||||||
to deal with.
|
to deal with.
|
||||||
|
|
||||||
|
These are:
|
||||||
|
|
||||||
|
* emphasis
|
||||||
|
* strong (bold)
|
||||||
|
* escaped characters
|
||||||
|
* code
|
||||||
|
|
||||||
~~~
|
~~~
|
||||||
'Emphasis var
|
'Emphasis var
|
||||||
'Strong var
|
'Strong var
|
||||||
'Escape var
|
'Escape var
|
||||||
'Code var
|
'Code var
|
||||||
|
~~~
|
||||||
|
|
||||||
|
~~~
|
||||||
:format
|
:format
|
||||||
$` [ @Escape [ &Escape v:off $* c:put ] if;
|
$` [ @Escape [ &Escape v:off $* c:put ] if;
|
||||||
@Code n:zero? [ '<span_class="tt"> &Code v:on ]
|
@Code n:zero? [ '<span_class="tt"> &Code v:on ]
|
||||||
|
|
Loading…
Reference in a new issue