2017-02-04 21:31:48 +01:00
|
|
|
|
```
|
|
|
|
|
% pandoc -f markdown+smart -t markdown-smart
|
|
|
|
|
"hi"...dog's breath---cat 5--6
|
|
|
|
|
^D
|
|
|
|
|
“hi”…dog’s breath—cat 5–6
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
% 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
|
|
|
|
|
```
|
|
|
|
|
|
2017-02-04 22:09:19 +01:00
|
|
|
|
```
|
|
|
|
|
% pandoc -f markdown+smart -t rst-smart
|
|
|
|
|
"hi"...dog's breath---cat 5--6
|
|
|
|
|
^D
|
|
|
|
|
“hi”…dog’s breath—cat 5–6
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
% pandoc -f markdown+smart -t rst+smart
|
|
|
|
|
"hi"...dog's breath---cat 5--6
|
|
|
|
|
^D
|
|
|
|
|
"hi"...dog's breath---cat 5--6
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
% pandoc -f markdown-smart -t rst+smart
|
|
|
|
|
"hi"...dog's breath---cat 5--6
|
|
|
|
|
^D
|
|
|
|
|
\"hi\"\...dog\'s breath\-\--cat 5\--6
|
|
|
|
|
```
|
2017-02-04 21:31:48 +01:00
|
|
|
|
|