multiline header

yy yiyu.jgl at gmail.com
Tue Mar 2 08:59:22 EST 2010


You can use multi-line headers with md2html.awk [1]:

; echo -e 'line 1\nline2\n=======' | md2html.awk
<h1>line 1 line2</h1>
;

There are other few details, like this one, where md2html.awk could be
not compatible with other md implementations, but if you stay away
from the corners it should get the job done.

[1] http://hg.4l77.com/md2html.awk/
some discussion of the implementation can be found at:
http://www.anarchyinthetubes.com/src/md2html.awk/

--
- yiyus || JGL . 4l77.com


More information about the Markdown-Discuss mailing list