Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 639 Bytes

README.adoc

File metadata and controls

18 lines (11 loc) · 639 Bytes

Asciidoctor.js PDF

Convert AsciiDoc document to PDF using Asciidoctor.js and Puppeteer (Headless Chrome)

About

Inspired by an awesome project called Relaxed.JS.

Asciidoctor.js PDF is using Headless Chrome to generate a beautiful PDF. It allows complex layouts to be defined with CSS and JavaScript, while writing the content in AsciiDoc.

Examples

Letter
./bin/asciidoctorjs-pdf examples/letter/letter.adoc --template-require ../examples/letter/template.js
Book
./bin/asciidoctorjs-pdf examples/book/book.adoc --template-require ../examples/book/template.js