diff options
Diffstat (limited to 'test/command/smart.md')
-rw-r--r-- | test/command/smart.md | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/test/command/smart.md b/test/command/smart.md new file mode 100644 index 000000000..e64d67de2 --- /dev/null +++ b/test/command/smart.md @@ -0,0 +1,45 @@ +``` +% 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 +``` + |