pandoc/test/command/smart.md

26 lines
441 B
Markdown
Raw Normal View 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
```