On Sun, Jan 9, 2011 at 11:40 AM, Navaneeth K.N <navaneet...@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
_______________________________________________
Markdown-Discuss mailing list
Markdown-Discuss@six.pairlist.net
http://six.pairlist.net/mailman/listinfo/markdown-discuss

Reply via email to