Write your blog posts in AsciiDoc

Write your blog posts in AsciiDoc

2024, Oct 22    

Writing content is AsciiDoc format is an absolut no brainer. Roq provides a plugin to handle it transparently for you.

To use it, you need to add the `quarkus-roq-plugin-asciidoc' to your project.

You can do that using several ways :

Manually
<dependency>
    <groupId>io.quarkiverse.roq</groupId>
    <artifactId>quarkus-roq-plugin-asciidoc</artifactId>
    <version>${quarkus-roq.version}</version>
</dependency>
Using the Quarkus cli
quarkus extension add io.quarkiverse.roq:quarkus-roq-plugin-asciidoc
Using the Maven
./mvnw quarkus:add-extension -Dextensions="io.quarkiverse.roq:quarkus-roq-plugin-asciidoc"
Using the Gradle
./gradlew addExtension --extensions="io.quarkiverse.roq:quarkus-roq-plugin-asciidoc"

Once done, you can start writing your blog posts in AsciiDoc format.