12. /**
* = Asciidoclet
*
* Sample comments that include +source code+.
*
* [source,java]
* -* public class Main{
*
public static void main(String[] args) {
*
Foo.doAwesomeStuff();
*
}
* }
* -*
* @author https://github.com/asciidoctor[asciidoctor]
*/
public class Foo {
public static void doAwesomeStuff() { … }
}
13. Seeing is believing
Any .adoc gist can be pointed at
http://docgist.narowth.se
and gets automatically rendered to HTML
14. More examples?
● Groovy, Golo and Ceylon languages use
Asciidoc for their documentation
● the Spring framework manual
● Asciidoctor website itself
● Arquillian, Weld and other JBoss sites
● The animals-on-covers book publisher
accepts Asciidoc as a format