From a747268823890c1a82593c88e813fa649f6bc247 Mon Sep 17 00:00:00 2001 From: quasicomputational Date: Mon, 5 Nov 2018 17:33:10 +0000 Subject: CommonMark writer: respect --ascii (#5043) --- test/command/ascii.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) (limited to 'test/command') 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) +``` -- cgit v1.2.3