Overview of Asciidoctor PDF features
mainAsciidoctor PDF is a native converter that transforms AsciiDoc documents directly into PDF files. Key capabilities include:
- Theming: A composable, configuration-driven theming system (similar to CSS) that allows for styling AsciiDoc blocks like examples, admonitions, and sidebars.
- Layout & Design: Support for front/back covers, title pages, configurable page sizes (A4, Letter, etc.), portrait/landscape orientation, and double-sided (prepress) printing with alternating margins.
- Content Elements: Full SVG support, custom fonts (TTF/limited OTF), syntax highlighting (Rouge, Pygments, or CodeRay), and font-based or image icons.
- Navigation: PDF document outlines, tables of contents with page numbers, internal cross-reference links, and auto-generated indexes.
- Advanced Formatting: Automatic hyphenation, CJK line breaking, page background colors/images, and customizable headers and footers.
- Optimization: Compression and optimization of the output PDF file.