diff options
Diffstat (limited to 'test/writer.org')
-rw-r--r-- | test/writer.org | 55 |
1 files changed, 27 insertions, 28 deletions
diff --git a/test/writer.org b/test/writer.org index df9d2b3a5..604aca21d 100644 --- a/test/writer.org +++ b/test/writer.org @@ -81,9 +81,9 @@ E-mail style: Code in a block quote: #+begin_example - sub status { - print "working"; - } + sub status { + print "working"; + } #+end_example A list: @@ -115,21 +115,21 @@ And a following paragraph. Code: #+begin_example - ---- (should be four hyphens) +---- (should be four hyphens) - sub status { - print "working"; - } +sub status { + print "working"; +} - this code block is indented by one tab +this code block is indented by one tab #+end_example And: #+begin_example - this code block is indented by two tabs + this code block is indented by two tabs - These should not be escaped: \$ \\ \> \[ \{ +These should not be escaped: \$ \\ \> \[ \{ #+end_example -------------- @@ -348,7 +348,7 @@ Multiple blocks with italics: - /orange/ :: orange fruit #+begin_example - { orange code block } + { orange code block } #+end_example #+begin_quote @@ -446,15 +446,15 @@ foo This should be a code block, though: #+begin_example - <div> - foo - </div> +<div> + foo +</div> #+end_example As should this: #+begin_example - <div>foo</div> +<div>foo</div> #+end_example Now, nested: @@ -485,7 +485,7 @@ Multiline: Code block: #+begin_example - <!-- Comment --> +<!-- Comment --> #+end_example Just plain comment, with trailing spaces on the line: @@ -497,7 +497,7 @@ Just plain comment, with trailing spaces on the line: Code: #+begin_example - <hr /> +<hr /> #+end_example Hr's: @@ -566,8 +566,8 @@ 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. +These should not be superscripts or subscripts, because of the unescaped spaces: +a^b c^d, a~b c~d. -------------- @@ -728,7 +728,7 @@ Indented [[/url][thrice]]. This should [not][] be a link. #+begin_example - [not]: /url +[not]: /url #+end_example Foo [[/url/][bar]]. @@ -739,8 +739,7 @@ Foo [[/url/][biz]]. :PROPERTIES: :CUSTOM_ID: with-ampersands :END: -Here's a [[http://example.com/?foo=1&bar=2][link with an ampersand in the -URL]]. +Here's a [[http://example.com/?foo=1&bar=2][link with an ampersand in the URL]]. Here's a link with an amersand in the link text: [[http://att.com/][AT&T]]. @@ -767,7 +766,7 @@ An e-mail address: [[mailto:nobody@nowhere.net][nobody@nowhere.net]] Auto-links should not occur here: =<http://example.com/>= #+begin_example - or here: <http://example.com/> +or here: <http://example.com/> #+end_example -------------- @@ -801,8 +800,8 @@ note.[fn:3] This paragraph should not be part of the note, as it is not indented. -[fn:1] Here is the footnote. It can go anywhere after the footnote reference. - It need not be placed at the end of the document. +[fn:1] Here is the footnote. It can go anywhere after the footnote reference. It + need not be placed at the end of the document. [fn:2] Here's the long note. This one contains multiple blocks. @@ -810,11 +809,11 @@ This paragraph should not be part of the note, as it is not indented. (as with list items). #+begin_example - { <code> } + { <code> } #+end_example - If you want, you can indent every line, but you can also be lazy and - just indent the first line of each block. + If you want, you can indent every line, but you can also be lazy and just + indent the first line of each block. [fn:3] This is /easier/ to type. Inline notes may contain [[http://google.com][links]] and =]= verbatim characters, as well as |