diff options
author | John MacFarlane <jgm@berkeley.edu> | 2019-05-05 21:47:15 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-05-05 21:47:15 -0700 |
commit | 5affa30e8ad8b5c6ce31240ecd271fd4cccab219 (patch) | |
tree | 8e0665acaafaa64d7e6e9e8c24ff87eea8c73029 /test/writer.asciidoctor | |
parent | 548ffa38c3b7850334f80d037521bd30ee171eee (diff) | |
download | pandoc-5affa30e8ad8b5c6ce31240ecd271fd4cccab219.tar.gz |
Asciidoc writer: use proper smart quotes with asciidoctor.
Asciidoctor has a different format for smart quotes.
Closes #5487.
Diffstat (limited to 'test/writer.asciidoctor')
-rw-r--r-- | test/writer.asciidoctor | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/writer.asciidoctor b/test/writer.asciidoctor index 8b388e55f..d72b1876f 100644 --- a/test/writer.asciidoctor +++ b/test/writer.asciidoctor @@ -439,16 +439,16 @@ spaces: a^b c^d, a~b c~d. == Smart quotes, ellipses, dashes -``Hello,'' said the spider. ```Shelob' is my name.'' +"`Hello,`" said the spider. "`'`Shelob`' is my name.`" -`A', `B', and `C' are letters. +'`A`', '`B`', and '`C`' are letters. -`Oak,' `elm,' and `beech' are names of trees. So is `pine.' +'`Oak,`' '`elm,`' and '`beech`' are names of trees. So is '`pine.`' -`He said, ``I want to go.''' Were you alive in the 70’s? +'`He said, "`I want to go.`"`' Were you alive in the 70’s? -Here is some quoted ``code`' and a ``http://example.com/?foo=1&bar=2[quoted -link]''. +Here is some quoted '``code``' and a "`http://example.com/?foo=1&bar=2[quoted +link]`". Some dashes: one—two — three—four — five. @@ -478,7 +478,7 @@ latexmath:[\alpha + \omega \times x^2]. These shouldn’t be math: * To get the famous equation, write `$e = mc^2$`. -* $22,000 is a _lot_ of money. So is $34,000. (It worked if ``lot'' is +* $22,000 is a _lot_ of money. So is $34,000. (It worked if "`lot`" is emphasized.) * Shoes ($20) and socks ($5). * Escaped `$`: $73 _this should be emphasized_ 23$. @@ -621,7 +621,7 @@ or here: <http://example.com/> == Images -From ``Voyage dans la Lune'' by Georges Melies (1902): +From "`Voyage dans la Lune`" by Georges Melies (1902): image:lalune.jpg[lalune,title="Voyage dans la Lune"] |