This document is an ok primer on the Asciidoctor text processor, but if you need more help, check out the AsciiDoc Documentation!
Note
|
In the raw adoc file, notice the window="_blank" attribute for the link above. This will make it so the link will be opened in a new tab when the user clicks on it. As a shorthand, you can just use an ^ instead! For example, check out the docs
|
This is a paragraph of regular text.
This is a paragraph with a bold word and an italicized word. Bold italic is also possible.
Words can also have internal bold and italic formatting.
Some constrained monospace text
, and some u
nconstrained m
onospace t
ext. Let’s keep adding to this line so that it wraps around and then we hit it with some code like this bootstrap.servers
and then more stuff
-
starts with code
and then non code-
non code and then
code
and some more
code
-
Some Superscript® text and some subscript text: H2O.
Java source code with numbered lines:
KafkaStreams streams = new KafkaStreams(builder.build(), config);
streams.start();
Bash command with bash highlighting:
$ cat <<EOF > text.txt \
hello
kafka
my
old
friend
EOF
Bash command using bold
$ ./my-cool-script.sh terminal output from your cool script
-
list item 1
-
nested list item
-
nested nested list item 1
-
nested nested list item 2
-
-
-
list item 2
-
ordered list item
-
nested ordered list item
-
-
ordered list item
-
second level list item
-
third level list item
-
another third level list item
-
a final third level list item
-
-
another second level list item
-
Here’s an example of a labeled list that identifies parts of a computer:
- CPU
-
The brain of the computer.
- Hard drive
-
Permanent storage for operating system and/or user files.
- RAM
-
Temporarily stores information the CPU uses during operation.
- Keyboard
-
Used to enter text or control items on the screen.
- Mouse
-
Used to point to and select items on your computer screen.
- Monitor
-
Displays information in visual form using text and graphics.
CPU |
The brain of the computer. |
Hard drive |
Permanent storage for operating system and/or user files. |
RAM |
Temporarily stores information the CPU uses during operation. |
- Diary
-
-
Milk
-
Eggs
-
- Bakery
-
-
Bread
-
- Produce
-
-
Bananas
-
Start with ksqlDB when…
|
Start with Kafka Streams when …
|
column 1 header | column 2 header |
---|---|
a |
b |
|
|
Can you do images in a table? |
Tip
|
This is a tip. There are five admonition labels: Tip, Note, Important, Caution and Warning. |
Note
|
This is a note. |
Important
|
This is important. |
Caution
|
Caution — be careful! |
Warning
|
This is a warning. |