1. HTML Example
An example project that demonstrates how to convert AsciiDoc to HTML5 using the Asciidoctor Gradle plugin.
1.1. Usage
Convert the AsciiDoc to HTML5 by invoking the 'asciidoctor' goal:
$ ./gradlew asciidoctor
Open the file build/asciidoc/html/example-manual.html in your browser to see the generated HTML file.
1.2. Source
1.3. Outputs
2. PDF Example
An example project that demonstrates how to convert AsciiDoc to PDF using the Asciidoctor Gradle plugin.
2.1. Usage
Convert the AsciiDoc to PDF by invoking the 'asciidoctor' goal:
$ ./gradlew asciidoctor
Open the file build/docs/asciidocPdf/example-manual.pdf in your browser to see the generated PDF file.
2.2. Source
2.3. Outputs
3. reveal.js Example
An example project that demonstrates how to convert AsciiDoc to reveal.js using the Asciidoctor Gradle plugin.
3.1. Usage
Convert the AsciiDoc to reveal.js by invoking the 'asciidoctor' goal:
$ ./gradlew clean asciidoctor
3.2. IntelliJ
If you’re using IntelliJ you can generate the IDE’s files via:
$ ./gradlew idea
Open the file build/docs/asciidocRevealJs/example-deck.html in your browser to see the generated reveal.js file.