Here is the markdown file test.md
:
# Introduction
He said, "Hello!".
I want to convert this to text using pandoc suitable for displaying on the command-line. To do this I run pandoc -t plain test.md
which results in
INTRODUCTION
He said, “Hello!â€.
What I want is for the double-quotes to be left as-is.
To turn off smart quotes use:
pandoc -f markdown-smart -t plain test.md
To display it in a terminal you might try something like:
pandoc -s -f markdown-smart -t man test.md | groff -T utf8 -man | less