taulinger / asciidoc-pdf-generation

Generate Pdf files from Asciidoc files via Asciidoctor Maven Plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Asciidoc Pdf Generation

This repository contains a setup to generate a Pdf file from an Asciidoc file using the Asciidoctor Maven Plugin. It also contains the asciidoctor-diagram extension.

The setup can easily be ported to be used within a Maven project.

Prerquisites

Usage

$ bash run.sh <my-ascii-doc-file>

which creates a /dist folder containing the Pdf file and other resources like images.

Examples

An example file and its dependencies can be found in ./src/asciidoc/.

Try it out by running:

$ bash run.sh ./src/asciidoc/example.adoc

About

Generate Pdf files from Asciidoc files via Asciidoctor Maven Plugin

License:Apache License 2.0


Languages

Language:Shell 100.0%