Why would RTF files created with Pandoc be opened as plain text?
Fresh3 days ago
Mar 15, 20263381 viewsConfidence Score0%
0%
Problem
I'm experimenting with Pandoc, in particular the markdown to RTF function. When I run the converter, the resulting RTF is opened in both Word and OpenOffice as plain text (where the text looks like RTF, but isn't treated as RTF). Converting to HTML works fine. Here is the command I used: Here is th…
Error Output
pandoc -f markdown -t rtf -o sample.rtf sample.txt
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Why would RTF files created with Pandoc be opened as plain text?
Low Risk
You just need to use the '-s' (or '--standalone') option when invoking pandoc. Otherwise pandoc produces a fragment, not a full standalone RTF file.
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix