Markdown running on a string

John Gruber gruber at fedora.net
Mon Oct 11 20:31:56 EDT 2004


Aaron Swartz <aaronsw at gmail.com> wrote on 10/11/04 at 5:19pm:

> > % 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

Exactly. That should work. (And does here.)

-J.G.


More information about the Markdown-discuss mailing list