diff options
author | John MacFarlane <jgm@berkeley.edu> | 2020-07-18 15:17:06 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2020-07-19 22:51:59 -0700 |
commit | d6b7b1dc772249e9a1b56bcdd4ae816cc54edb51 (patch) | |
tree | 59c29c5daecd6897d8756a1b04b53bcf382aff6d /test | |
parent | a63105fffffeea18bb258f31f6fdf2e2d3730eaa (diff) | |
download | pandoc-d6b7b1dc772249e9a1b56bcdd4ae816cc54edb51.tar.gz |
Remove use of cmark-gfm for commonmark/gfm rendering.
Instead rely on the markdown writer with appropriate extensions.
Export writeCommonMark variant from Markdown writer.
This changes a few small things in rendering markdown,
e.g. w/r/t requiring backslashes before spaces inside
super/subscripts.
Diffstat (limited to 'test')
-rw-r--r-- | test/command/3734.md | 2 | ||||
-rw-r--r-- | test/command/4038.md | 2 | ||||
-rw-r--r-- | test/command/4528.md | 2 | ||||
-rw-r--r-- | test/command/gfm.md | 8 |
4 files changed, 7 insertions, 7 deletions
diff --git a/test/command/3734.md b/test/command/3734.md index 7549fb053..f65b1cfd3 100644 --- a/test/command/3734.md +++ b/test/command/3734.md @@ -27,6 +27,6 @@ | aaaaaaaaaaaa | | cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc | ^D | aaaaaaaaaaaa | bbbbb | ccccccccccc | -| ------------ | ----- | ------------------------------------------------------------------------ | +|--------------|-------|--------------------------------------------------------------------------| | aaaaaaaaaaaa | | cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc | ``` diff --git a/test/command/4038.md b/test/command/4038.md index 121760540..b5e6323df 100644 --- a/test/command/4038.md +++ b/test/command/4038.md @@ -1,5 +1,5 @@ ``` -% pandoc -f gfm -t gfm +% pandoc -f gfm -t gfm --atx-headers # ~~Header~~ ^D # ~~Header~~ diff --git a/test/command/4528.md b/test/command/4528.md index a60f6decf..a34af33c5 100644 --- a/test/command/4528.md +++ b/test/command/4528.md @@ -124,7 +124,7 @@ This has ^superscript^ in it and ^2^ again. % pandoc --wrap=none -f html -t commonmark-raw_html This has <sub>subscript</sub> in it and <sub>2 3</sub> again. With emphasis: <sub><em>2</em> 3</sub>. With letters: <sub>foo</sub>. With a span: <sub><span class=foo>2</span></sub>. ^D -This has \_(subscript) in it and ₂ ₃ again. With emphasis: \_(*2* 3). With letters: \_(foo). With a span: ₂. +This has _(subscript) in it and ₂ ₃ again. With emphasis: _(*2* 3). With letters: _(foo). With a span: ₂. ``` ``` diff --git a/test/command/gfm.md b/test/command/gfm.md index ef200fc48..f1bce1b89 100644 --- a/test/command/gfm.md +++ b/test/command/gfm.md @@ -69,7 +69,7 @@ My:thumbsup:emoji:heart: % pandoc -f gfm+smart -t native "hi" ^D -[Para [Str "\8220hi\8221"]] +[Para [Quoted DoubleQuote [Str "hi"]]] ``` ``` @@ -100,7 +100,7 @@ My:thumbsup:emoji:heart: [])] ^D | Fruit | Price | -| ------ | ----: | +|--------|------:| | apple | 0.13 | | orange | 1.12 | @@ -161,6 +161,6 @@ hi - [ ] foo - [x] bar ^D - - [ ] foo - - [x] bar +- [ ] foo +- [x] bar ``` |