Hi Clemens,
This sort of hack is definitely possible though there isn't anything in place right now. I'd suggest adding a ticket via the trac interface (http://trac.common-lisp.net/cl-markdown/newticket).
CL-Markdown runs in two "phases". The first does the parsing and the second the generation (not too surprising!). The parsing API is pretty ugly right now and should be improved. I'll keep your desires in mind when I get to that step.
thanks,
On May 9, 2006, at 4:27 PM, Clemens Heitzinger wrote:
Hello, I just read your announcement.
I'd like to use it to write some pages. My gripe with markdown.pl is that I cannot include the html, head, and body tags like in the example below. (At least I couldn't figure it out.) I thought I could hack cl-markdown to include headers and footers in the pages... Everything before and after the two comments would go verbatim into the output file. Would that be feasible?
—Clemens
<html> <head> <title>Research</title> <link rel="stylesheet" type="text/css" href="homepage.css"> </head> <body> <!-- Header ends here. -->
# Header 1
Markdown text goes here.
<!-- Footer starts here. -->
</body> </html>
cl-markdown-devel@common-lisp.net