Skip to content

Instantly share code, notes, and snippets.

@giacomomarchioro
Last active December 20, 2022 15:18
Show Gist options
  • Save giacomomarchioro/0da73623da63d9e8ecd5de0f53a4fa36 to your computer and use it in GitHub Desktop.
Save giacomomarchioro/0da73623da63d9e8ecd5de0f53a4fa36 to your computer and use it in GitHub Desktop.
A sandbox for reference using ASCIIDOC

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

Blocks

Listing

[listing]
....
a > b
....
a > b

A sidebar block with a title and ID:

.Styles of music
[#music-styles]
****
Go off on a tangent to describe what a style of music is.
****
Styles of music

Go off on a tangent to describe what a style of music is.

====
Here's a sample AsciiDoc document:

Document Title

Author Name

Content goes here.

The document header is useful, but not required.
====

Here’s a sample AsciiDoc document:

= Document Title
Author Name

Content goes here.

The document header is useful, but not required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment