pandoc/test/command/smart.md
2017-02-04 21:56:32 +01:00

441 B
Raw Blame History

% pandoc -f markdown+smart -t markdown-smart
"hi"...dog's breath---cat 5--6
^D
“hi”…dogs breath—cat 56
% pandoc -f markdown+smart -t markdown+smart
"hi"...dog's breath---cat 5--6
^D
"hi"...dog's breath---cat 5--6

When we render literal quotes without smart, we need to escape:

% pandoc -f markdown-smart \
  -t markdown+smart
"hi"...dog's breath---cat 5--6
^D
\"hi\"\...dog\'s breath\-\--cat 5\--6