This repository contains a collection of sample projects that demonstrate numerous ways to use the Asciidoctor Gradle plugin in a Gradle project.
You can browse the github pages to view the examples, the code, and sample output at
Clone the example repository using git:
$ git clone https://github.com/asciidoctor/asciidoctor-gradle-examples
If you are using IntelliJ, you can generate the relevant IDE files using:
$ ./gradlew idea
You can optionally run all of examples at once using the following command from the repository root:
$ ./gradlew asciidoctor
Alternatively, you can treat each project as a distinct module. Refer to the README file in each individual project to learn how to run it.
- asciidoc-to-html-example
-
An example project that demonstrates how to convert AsciiDoc to HTML5 using the Asciidoctor Gradle plugin.
- asciidoc-to-revealjs-example
-
Demonstrates how to convert AsciiDoc to reveal.js using Asciidoctor revealjs with the Asciidoctor Gradle plugin.
Copyright © 2020 The Asciidoctor Project. Free use of this software is granted under the terms of the MIT License.
See the LICENSE.adoc file for details.