Search code examples
textpandoc

How to change straight quotes to curly quotes?


I'd like to change "straight quotes" to “curly quotes” in my text document.

I tried using Pandoc's --smart

pandoc in.txt --smart -o out.txt -t plain --no-wrap

This is almost perfect, except that it loses *emphasis*.

Any ideas?


Solution

  • Set the output format to markdown too:

    pandoc in.txt -S -o out.txt -f markdown -t markdown --no-wrap