Hi list, I have been trying to do something like this: cat first_post | markdown without any success. I think a text transformer should primarily serve as a UNIX filter not just a tool that opens files. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://six.pairlist.net/pipermail/markdown-discuss/attachments/20110828/061d756b/attachment.html>
Well I was using python-markdown Arch Linux package and the command line tool markdown that comes with it. I have downloaded Markdown.pl which does work as a filter.. On Sun, Aug 28, 2011 at 2:10 PM, Simon KP <si at eskp.net> wrote:> Hi list, > > I have been trying to do something like this: > > cat first_post | markdown > > without any success. > > I think a text transformer should primarily serve as a UNIX filter not just > a tool that opens files. > > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://six.pairlist.net/pipermail/markdown-discuss/attachments/20110828/2b6fa1c0/attachment.html>
Unfortunately, python-markdown did not always work on stdin (but did for stdout). This has since been rectified and will be available in the next release (2.1). Actually I though it was in the last release (2.0) but maybe not. On Sun, Aug 28, 2011 at 12:57 AM, Simon KP <si at eskp.net> wrote:> Well I was using python-markdown Arch Linux package and the command line > tool markdown that comes with it. > > I have downloaded Markdown.pl which does work as a filter.. > > On Sun, Aug 28, 2011 at 2:10 PM, Simon KP <si at eskp.net> wrote: >> >> Hi list, >> >> I have been trying to do something like this: >> >> cat first_post | markdown >> >> without any success. >> >> I think a text transformer should primarily serve as a UNIX filter not >> just a tool that opens files. >> >> > > > _______________________________________________ > Markdown-Discuss mailing list > Markdown-Discuss at six.pairlist.net > http://six.pairlist.net/mailman/listinfo/markdown-discuss > >-- ---- \X/ /-\ `/ |_ /-\ |\| Waylan Limberg