Markdown running on a string

Aaron Swartz aaronsw at gmail.com
Mon Oct 11 20:19:36 EDT 2004


> % perl Markdown.pl "1. test\r2. test\r3. test\r\rThis is new paragraph."

Can't you just do something like:

% echo  "1. test\r2. test\r3. test\r\rThis is new paragraph." | perl Markdown.pl


More information about the Markdown-discuss mailing list