Already compared with Asciidoctor. Its fit as a replacement still needs assessment.
How Asciidoctor compares as a replacement
Publish AsciiDoc technical documentation to HTML or DocBook limited
Asciidoctor → Pandoc
Can replace the AsciiDoc-to-HTML or DocBook portion of a publishing pipeline; this does not replace Pandoc's broader input formats or filter architecture.
Platforms: Windows, macOS, Linux · Region: Version, build and integration requirements apply
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
supported
Core 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