Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
80 lines (61 sloc) 2.62 KB

Asciidoc syntax test document

Emphasizing and quoting

Emphasized, bold etc. text preceded or followed by dashes is handled correctly:

  • bold, --bold, bold--bla*nonbold*.

  • emph, --emph, emph--bla_nonemph_.

  • 'emph', --'emph', 'emph'--bla_nonemph_.

  • mono, --mono, mono--bla+nonmono+.

  • mono, --mono, mono--bla`nonmono`.

  • quot'', --quot'', quot''--blanonquot''.

Emphasizing a complete multi-line paragraph should be possible too ! And So it will be…​

Lists

Correct indentation: simple numbers at the start of lines should not be confused with list items. These are numbered lists, so lines following a list item should be indented:

  1. Integer numbered list item. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.

    1. Integer numbered list item with optional numbering. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.

    2. Integer numbered list item with optional numbering. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.

      1. lower roman numbering

        1. upperroman numbering

          1. loweralpha numbering

            1. upperalpha numbering

But these are just numbers that happen to occur at the start of a line and should not trigger indentation:

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Fusce euismod od 1 commodo velit. Qui in magna commodo, est labitur dolorum an. Est ne magna primis. Sit munere ponderum dignissim et. Minim luptatum et vel. Vivamus 12.5. mi eu lacus. Donec eget arcu bibendum nunc consequat lobortis. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Fusce euismod commodo

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Fusce euismod od c. commodo velit. Qui in magna commodo, est labitur dolorum an. Est ne magna primis. Sit munere ponderum dignissim et. Minim luptatum et vel. (Vivamus xi) mi eu lacus. Donec eget arcu bibendum nunc consequat lobortis. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Fusce euismod commodo

Blocks

Many ways to make blocks

Admonitions

Warning
Admonitions have a special meaning too.
Note
Also when used in block mode.

Definitions

Definition 1

This is it

Definition 2

This is it too

Inserting quotes

Typing "" inserts a pair of quotes (`’') and places the cursor between them. Works in both insert and command mode (switching to insert mode). Typing a single " works as usual (though with a slight delay).

URLs and email addresses

So when using a URL like Test it needs to stand out, same is true for email addresses like dag@wieers.com