MARKDOWN(1) User Contributed Perl Documentation MARKDOWN(1) NAME Markdown.pl - Convert Markdown syntax to (X)HTML DESCRIPTION This program is distributed as part of Perl's Text::Markdown module, illustrating sample usage. Markdown can be invoked on any file containing Markdown-syntax, and will produce the corresponding (X)HTML on STDOUT: $ cat file.txt This is a *test*. Absolutely _nothing_ to see here. _Just a **test**_! * test * Yup, test. $ Markdown.pl file.txt
This is a test.
Absolutely nothing to see here. Just a test!
A simple test
OPTIONS version Shows the full information for this version shortversion Shows only the version number html4tags Produce HTML 4-style tags instead of XHTML - XHTML requires elements that do not wrap a block (i.e. the "hr" tag) to state they will not be closed, by closing with "/>". HTML 4-style will plainly output the tag as it comes: $ echo '---' | markdown