David Parsons
->
and <-
.->this is a test<-
produces
<center>this is a test</center>
=
widthx
height field to the image tag:![dust mite] (https://dust.mite =150x150)
produces
<img src="https://dust mite" height=150 width=150 alt="dust mite">
=
characters, then put the body of the list
item on the next line, indented 4 spaces.A definition list label is just a regular line of markdown code, so you can put links and images into it.=hey!= This is a definition list
produces
<dt>hey!</dt> <dd>This is a definition list</dd>
Ordered lists with alphabetic labels (enabled by --enable-alpha-list
during configuration) are supported in the same way that numeric ordered
lists are:
a. first item
b. second item
generates
I wanted to be able to apply styles inline without having
to manually enter the <span class="
xxx">
…</span>
html. So I redid the [][]
code to support some new
“protocols” within my markdown:
=class:
name=
The label will be wrapped by <span class="
name">
…</span>
=id:
name=
The label will be wrapped by <a id="
name">
…</a>
=raw:
text=
Text will be written verbatim to the output. The protocol
was inspired by a short thread on the markdown mailing list
about someone wanting to embed LaTeX inside <!-- -->
and
finding, to their distress, that markdown mangled it.
Passing text through in comments seems to be a path to unreadable madness, so I didn’t want to do that. This is, to my mind, a better solution.
<style>
…</style>
blocks and set them aside for printing
via mkd_style()
.> %class%
will become
<div class="
class">
instead of a <blockquote>
.