software · Q756
Asciidoctor
AsciiDoc processor with built-in HTML, DocBook and manual-page converters.
Overview
Asciidoctor is an open-source processor for AsciiDoc, a plain-text document markup language. Its core converts source documents into HTML5, DocBook 5 and manual pages, while additional converters extend the publishing pipeline. It can be used from a command line or integrated into another application.[1]
Processing and integration
The command-line interface handles file conversion, while an API lets an application load a document and convert it separately. This exposes a parsed document model for integration rather than requiring the application to treat conversion as an opaque shell command. Choosing an API also requires attention to output options and processing permissions; the same source can behave differently under different safe-mode settings.[2][4]
Core and additional converters
The core distribution supplies three output converters. PDF and EPUB are separate additions, so installing the processor alone does not establish a complete print or ebook workflow. Ruby is the original implementation; AsciidoctorJ and Asciidoctor.js provide JVM and JavaScript routes. The project lists Windows, macOS and Linux availability, but integrations and their dependencies still need to match the chosen runtime.[1]
Moving legacy content
The official migration guide specifically addresses AsciiDoc.py 8.6. Although the basic conversion command has an equivalent, legacy syntax and configuration are not universally interchangeable. Compatibility mode is a deprecated transitional aid, not a permanent compatibility guarantee. Configuration-file filters are replaced by an extension API, and custom Python extensions need rewriting for the selected processor. HTML output also defaults to HTML5 rather than the older processor's XHTML 1.1.[3]
Trust boundaries
The command line defaults to UNSAFE, whereas the API defaults to SECURE and disables includes and URI retrieval. SAFE permits includes within the source parent directory but does not validate symbolic-link targets. Extensions may not honor these controls. Crucially, none of the modes sanitizes generated HTML: passthrough content can survive conversion, so embedding untrusted output requires a separate sanitization step.[2]
License and substitution
The processor is MIT-licensed. It can substitute for Pandoc when the specific requirement is publishing AsciiDoc as HTML or DocBook. This is a narrower assessment than replacing a general document converter: selecting Asciidoctor does not provide Pandoc's many other input readers. Existing templates, extensions and build commands should be evaluated as part of migration rather than assumed compatible because both tools produce the same file extension.[1][3][5]
Capabilities & limitations
AsciiDoc conversion
supportedCore outputs include HTML5, DocBook 5 and manual pages.[1]
Publish AsciiDoc technical documentation to HTML or DocBook · Windows, macOS, Linux · Version, build and integration requirements apply
1 source · check evidence
Built-in converters, requirements, ecosystem and copyright/license
vendor · checked 2026-10-07PDF and EPUB generation
limitedAdditional converter gems provide these outputs; they are not built into core.[1]
Publish AsciiDoc technical documentation to HTML or DocBook · Windows, macOS, Linux · Version, build and integration requirements apply
1 source · check evidence
Built-in converters, requirements, ecosystem and copyright/license
vendor · checked 2026-10-07Legacy processor migration
limitedAsciiDoc.py 8.6 migration can require syntax, configuration and extension changes.[3]
Publish AsciiDoc technical documentation to HTML or DocBook · Windows, macOS, Linux · Version, build and integration requirements apply
1 source · check evidence
8.6 scope, compatibility mode, configuration and custom extensions
vendor · checked 2026-10-07Output sanitization by safe mode
unsupportedSafe modes restrict processing actions but do not sanitize generated HTML.[2]
Publish AsciiDoc technical documentation to HTML or DocBook · Windows, macOS, Linux · Version, build and integration requirements apply
1 source · check evidence
Security assumptions; UNSAFE, SAFE and SECURE
vendor · checked 2026-10-07Can substitute for
These are products or services this entry can replace. Check the task and limitations for each comparison.
Pandoc for Publish AsciiDoc technical documentation to HTML or DocBook
limitedCan replace the AsciiDoc-to-HTML or DocBook portion of a publishing pipeline; this does not replace Pandoc's broader input formats or filter architecture.[1][5]
Windows, macOS, Linux · Version, build and integration requirements apply
References
- Asciidoctor overview
Built-in converters, requirements, ecosystem and copyright/license
vendor · retrieved 2026-10-07 - Safe modes
Security assumptions; UNSAFE, SAFE and SECURE
vendor · retrieved 2026-10-07 - Migration from AsciiDoc.py
8.6 scope, compatibility mode, configuration and custom extensions
vendor · retrieved 2026-10-07 - Asciidoctor API
Loading and converting documents
vendor · retrieved 2026-10-07 - Pandoc formats
AsciiDoc, HTML and DocBook input/output formats
vendor · retrieved 2026-10-07
Discussion & disputes
Ask about unclear claims or explain a concern with supporting sources. If you have a specific fix, suggest a correction.
No discussion yet.
Revision history
Open a revision to read an earlier version of this article.
| Revision | Timestamp | Edit summary |
|---|---|---|
| 804 | 2026-10-13 09:47:21 | /* wbeditentity-create-item:0| */ sf:1d53c921-4ef7-4dbb-b126-72441d49e8ba:v1 | Add Asciidoctor with separate converter, migration and security boundaries. | attribution: /proposals/1d53c921-4ef7-4dbb-b126-72441d49e8ba |