Author
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.
Demo the usage of attributes.
backend: revealjs
asciidoctor-version: 2.0.8
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.
Demo the display of icons as images or fonts.
Note |
Warning |
Tip |
Important |
Caution |
Demo source code inclusion.
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");
}
}
1 | The class name |
2 | The main method |
public static void main(String[] args) { (1)
System.out.println("Hello, World");
}
1 | The main method |
Also see the Javadoc. |
Demo the inclusion of semantic diagrams.
❶ From a to b
❷ From b to c
❶ Uses SSL
Demo the inclusion of sub-documents, with relative paths for images/icons/diagrams.
Note |
Demo linking across sections and documents.
Also refer to these other sections:
Glossary elements like something.
Also refer to these documents:
This is not the end ! |
You should also try out:
the HTML handbook version
the Maven site
the PDF handbook version