diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2011-11-18 21:09:23 -0800 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2011-11-18 21:09:49 -0800 |
commit | 1561d51cc58ee6b915a35bd057830d4b27379b5b (patch) | |
tree | 15e6d4cdfe1ccb6470e0128a16e1a0e14ffbdf09 /tests | |
parent | 1a3b7abd1831e57051d07031c1d252ad114a3c01 (diff) | |
download | pandoc-1561d51cc58ee6b915a35bd057830d4b27379b5b.tar.gz |
Renamed to AsciiDoc. Fixed display math and escapes.
AsciiDoc does not seem to have consistent escaping rules.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/writer.asciidoc | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/tests/writer.asciidoc b/tests/writer.asciidoc index af27e02ce..8256b1f34 100644 --- a/tests/writer.asciidoc +++ b/tests/writer.asciidoc @@ -50,7 +50,7 @@ In Markdown 1.0.0 and earlier. Version 8. This line turns into a list item. Because a hard-wrapped line in the middle of a paragraph looked like a list item. -Here’s one with a bullet. \* criminey. +Here’s one with a bullet. * criminey. There should be a hard line break + here. @@ -94,7 +94,7 @@ ______ -- ______________________ -This should not be a block quote: 2 \> 1. +This should not be a block quote: 2 > 1. And a following paragraph. @@ -431,7 +431,7 @@ Superscripts: a^bc^d a^_hello_^ a^hello there^. Subscripts: H~2~O, H~23~O, H~many of them~O. These should not be superscripts or subscripts, because of the unescaped -spaces: a\^b c\^d, a\~b c\~d. +spaces: a^b c^d, a~b c~d. ''''' @@ -467,7 +467,7 @@ LaTeX * latexmath:[$223$] * latexmath:[$p$]-Tree * Here’s some display math: -latexmath:[$$\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}$$] +latexmath:[\[\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}\]] * Here’s one that has a line break in it: latexmath:[$\alpha + \omega \times x^2$]. @@ -502,15 +502,15 @@ This & that. 4 < 5. -6 \> 5. +6 > 5. -Backslash: \\ +Backslash: \ -Backtick: \` +Backtick: ` -Asterisk: \* +Asterisk: * -Underscore: \_ +Underscore: _ Left brace: \{ @@ -524,15 +524,15 @@ Left paren: ( Right paren: ) -Greater-than: \> +Greater-than: > -Hash: \# +Hash: # Period: . Bang: ! -Plus: \+ +Plus: + Minus: - @@ -556,7 +556,7 @@ link:/url/[URL and title] link:/url/[URL and title] -link:/url/with_underscore[with\_underscore] +link:/url/with_underscore[with_underscore] mailto:nobody@nowhere.net[Email link] @@ -642,7 +642,7 @@ Footnotes Here is a footnote reference,footnote:[Here is the footnote. It can go anywhere after the footnote reference. It need not be placed at the end of the document.] and another.[multiblock footnote omitted] This should _not_ be a -footnote reference, because it contains a space.[\^my note] Here is an inline +footnote reference, because it contains a space.[^my note] Here is an inline note.footnote:[This is _easier_ to type. Inline notes may contain http://google.com[links] and `]` verbatim characters, as well as [bracketed text].] |