Help Required

Andrew Antle andrew.antle at gmail.com
Sun Jan 9 12:36:52 EST 2011


On Sun, Jan 9, 2011 at 11:40 AM, Navaneeth K.N <navaneethkn at gmail.com> wrote:

> Hello,

>

> Just started using Markdown and thanks for the great product.

>

> I am not very sure that how this program can generate HTML files. When I

> tried "perl Markdown.pl foo.text", it wrote the output to console. I am

> wondering how this can be used to generate the HTML file? Also if I have a

> header and footer, how can I tell this program to use that when generating?

>

> Any help would be great!

>

> --------------------

> Navaneeth


$ cat header.html > foo.html
$ perl Markdown.pl foo.txt >> foo.html
$ cat footer.html >> foo.html

HTH,
Andrew


More information about the Markdown-Discuss mailing list