To use this extension declare it as a dependency in asciidoctor-maven-plugin configuration.
<plugin>
<groupId>org.asciidoctor</groupId>
<artifactId>asciidoctor-maven-plugin</artifactId>
<version>2.0.0-RC.1</version>
<executions>
<execution>
<id>output-html</id>
<phase>generate-resources</phase>
<goals>
<goal>process-asciidoc</goal>
</goals>
<configuration>
<backend>html</backend>
</configuration>
</execution>
</executions>
<dependencies>
<dependency> <!--(1)-->
<groupId>de.uniqueck.asciidoctorj.extensions</groupId>
<artifactId>asciidoctorj-office-extension</artifactId>
<version>0.1.0</version> <!--(2)-->
</dependency>
</dependencies>
</plugin>
-
asciidoctorj-office-extension is added
-
check for the latest version at Maven Central
slide::/path/to/powerpointFile.pptx[slideNumber=1]
This macro generate an image from the first slide from the given powerpointFile.pptx and embedded it in your asciidoc document.
Currently only Microsofts *.pptx format is supported.