AsciidoctorJ Office Extension
Installation
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
Microsoft Powerpoint Extension
slide macro
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.
Attributes
-
slides-dir-name output directory name for converted images from slides
Microsoft Excel Extension
excel macro
excel::/path/to/excel.(xlsx|xls)[sheetName=Table1]
This macro generate a asciidoc table based on your excel sheet. Currently supported formats are xls and xlsx.
Attributes
-
sheetName name of sheet to be converted to AsciiDoc table