An example project that demonstrates how to create an extension for Asciidoctorj (written in Java) and how to use it in an other documentation Maven module.
A maven plugin containing a the code that adds a twitter
macro to asciidoctor.
With this extension you can write:
Contact: twitter:mojavelinux[] (project lead lead of the asciidoctor project)
This twitter extension uses the SPI interface to register itself to the Asciidoctor engine.
See the corresponding files: