diff options
author | quasicomputational <quasicomputational@gmail.com> | 2018-11-05 17:33:10 +0000 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2018-11-05 09:33:10 -0800 |
commit | a747268823890c1a82593c88e813fa649f6bc247 (patch) | |
tree | 632e6c08229995d23ac2d8c49a36d277ba0eda96 /test | |
parent | 249fd40838519fc272f64eaab6c40804e169e5e4 (diff) | |
download | pandoc-a747268823890c1a82593c88e813fa649f6bc247.tar.gz |
CommonMark writer: respect --ascii (#5043)
Diffstat (limited to 'test')
-rw-r--r-- | test/command/ascii.md | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/test/command/ascii.md b/test/command/ascii.md index 96fc50291..d01389a60 100644 --- a/test/command/ascii.md +++ b/test/command/ascii.md @@ -51,3 +51,39 @@ pandoc -t markdown-smart --ascii “äéıå” ``` +# CommonMark tests + +``` +% pandoc -f commonmark -t commonmark --ascii +hello … ok? … bye +^D +hello … ok? … bye +``` + +``` +% pandoc -f commonmark+smart -t commonmark-smart --ascii --wrap=none +"hi"...dog's breath---cat 5--6 +^D +“hi”…dog’s breath—cat 5–6 +``` + +``` +% pandoc -f commonmark+smart -t commonmark+smart --ascii +"hi"...dog's breath---cat 5--6 +^D +"hi"...dog's breath---cat 5--6 +``` + +``` +% pandoc -f commonmark -t commonmark --ascii +foo Ӓ bar +^D +foo Ӓ bar +``` + +``` +% pandoc -f commonmark -t commonmark --ascii +\[foo\](bar) +^D +\[foo\](bar) +``` |