From 1561d51cc58ee6b915a35bd057830d4b27379b5b Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 18 Nov 2011 21:09:23 -0800 Subject: Renamed to AsciiDoc. Fixed display math and escapes. AsciiDoc does not seem to have consistent escaping rules. --- tests/writer.asciidoc | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'tests') 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].] -- cgit v1.2.3