Presentation

20-05-2019
0.1-SNAPSHOT

Author

Keys

  • Press the arrow keys to navigate.

  • Press the esc key to get an overview of your slides.

  • Press the s key to access speaker notes.

  • Press b or . to blank your current screen.

Attributes

Demo the usage of attributes.

Environment attributes

  • backend: revealjs

  • asciidoctor-version: 2.0.8

Custom attributes

Variables can be passed as custom attributes, initialized from a maven property (no maven filtering of .adoc files needed)

<attributes>
  <awesome-version>${awesome.version}</awesome-version>
</attributes>

Awesome library version: 1.3.

Admonitions

Demo the display of icons as images or fonts.

Note
Warning
Tip
Important
Caution

Source code

Demo source code inclusion.

Inline source

public class HelloWorld { (1)
  public static void main(String[] args) { (2)
    // Prints "Hello, World" to the terminal window. Here is some very large comment that should cause an overflow
    System.out.println("Hello, World");
  }
}
1The class name
2The main method

Referenced source

public static void main(String[] args) { (1)
  System.out.println("Hello, World");
}
1The main method
Also see the Javadoc.

Diagrams

Demo the inclusion of semantic diagrams.

Graphviz

dot example

❶ From a to b

❷ From b to c

Plantuml

plantuml example

❶ Uses SSL

Sub-document

Demo the inclusion of sub-documents, with relative paths for images/icons/diagrams.

Note
asciidoctor
dot trivial example

Internal cross references

Also refer to these other sections:

Glossary elements like something.

Inter-document cross references

Also refer to these documents:

Conclusion

This is not the end !

You should also try out: