Skip to content

Latest commit

 

History

History
121 lines (51 loc) · 1.37 KB

asciidoc.adoc

File metadata and controls

121 lines (51 loc) · 1.37 KB

Hello, AsciiDoc!

This is an interactive editor. Use it to try AsciiDoc.

Italic text is surrounded by underscores. Bold text is surrounded by asterisks.

Section Title

  • A list item

  • Another list item

    • A third list item

Some Stuff

  1. A numbered list item

  2. Another numbered list item

  3. A third numbered list item

puts 'Hello, World!'

h1

h2

h3

h4

h5
h6

Chapter Title

A paragraph with bold and italic text.

an image
Figure 1. Image title

The xref macro is used for source-to-source links, like a-book.adoc.

An external link to Eclipse.

Note
One of five built-in admonition block types.

Document Title

A paragraph with bold and italic text.

A link to Eclipse.

A reusable link to GitLab.

An image

Section title

  • Unordered list item

    • Add another marker to make a nested item

  • Another unordered list item

Note
One of five built-in admonition block types.

Subsection title

Text indented by one space is preformatted.

A source block with a Ruby function named hello that prints “Hello, World!”:

def hello name = 'World'

  puts "Hello, #{name}!"

end