45 lines
796 B
Markdown
45 lines
796 B
Markdown
```
|
||
% 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
|
||
```
|
||
|
||
```
|
||
% 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
|
||
```
|
||
|