I’m trying to setup a simple Preview Filter for reStreucturedText using pandoc.
Pandoc reads from STDIN and prints to STDOUT - the following works great in the terminal: echo "this is **marked-up** text" | pandoc -f rst -t html => <p>this is <strong>marked-up</strong> text</p> My thought (and I’m sure this isn’t correct) was that making a Preview Filter would be as simple as a file that looks like this: #!/bin/bash pandoc -f rst -t html …but no luck. Anyone know what I’m doing wrong? -- This is the BBEdit Talk public discussion group. If you have a feature request or would like to report a problem, please email "[email protected]" rather than posting to the group. Follow @bbedit on Twitter: <http://www.twitter.com/bbedit> --- You received this message because you are subscribed to the Google Groups "BBEdit Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].
