0

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.

rlandster
  • 7,294
  • 14
  • 58
  • 96

1 Answers1

3

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
mb21
  • 34,845
  • 8
  • 116
  • 142