A sample AsciiDoc document.
A paragraph followed by a simple list.
+-------------+ | Asciidoctor |-------+ | Diagram | | +-------------+ | PNG out ^ | | ditaa in | | v +--------+ +--------+----+ /----------------\ | | --+ Asciidoctor +--> | | | Text | +-------------+ |Beautiful output| |Document| | !magic! | | | | {d}| | | | | +---+----+ +-------------+ \----------------/ : ^ | Lots of work | +-----------------------------------+
digraph g { a -> b b -> c c -> d d -> a }
The PlantUML block extension class
class BlockProcessor class PlantUmlBlock BlockProcessor <|-- PlantUmlBlock
Ruby source sample
puts ['AsciiDoc', 'GitHub', 'AsciiDoc on GitHub'].map {|item|
"I use #{item}!"
} * "\n"
-
item 1
-
item 2
Here’s how you say ``Hello, World!'' in Ruby.
A basic Ruby application
puts "Hello, World!"
Tip
|
asciidoctor-fopub takes the pain out of converting a DocBook file to a PDF file like this one. All you need is a Java Development Kit (JDK) and this project. The rest of the software is fetched and configured by Gradle. |