Here’s a quick demo of a few features from AsciiDoc.

Including an image

First post!

Showing code

The code can be included as an inline snippet such as this.

Code blocks are also available:

This is an optional code block title
package org.acme;

public class HelloWorld {

    public static void main(String[] args) {
        System.out.println("Hello, World!"); (1)
    }
}
1 Callouts can be used to provide additional information about a specific line of code.

Did you notice the Copy to clipboard button in the top-right corner of the code block? That feature is provided by the blog theme, Minimal Mistakes.

Drawing the reader’s attention with admonitions

This is a NOTE admonition.

This is a TIP admonition.

This is a WARNING admonition.

This is an IMPORTANT admonition.

This is a CAUTION admonition.

Learn more about admonitions in Asciidoctor Docs.