flâneur — a map of the web's best reading

Pandoc - FAQs

pandoc.org · 1,171 words · saved by 1 readers

I used pandoc to convert a document to ICML (or OPML or RTF), and when I try to open it I’m told it’s invalid. What have I done wrong?

Pandoc - FAQs FAQs How can I convert a whole directory of files from Markdown to RTF? On linux or OSX: for f in *.txt; do pandoc "$f" -s -o "${f%.txt}.rtf"; done In Windows Powershell: gci -r -i *.txt |foreach{$rtf=$_.directoryname+"\"+$_.basename+".rtf";pandoc -f markdown -s $_.fullname -o $rtf} I used pandoc to convert a document to ICML (or OPML or RTF), and when I try to open it I’m told it’s invalid. What have I done wrong? Be sure to use the -s or --standalone flag, or you just get a fragment, not a full document with the required header: pandoc -s -f markdown -t icml -o my.icml my.md I

Explore this link on the map →

saved by

related reading