{"schemaVersion":"1.0","record":{"label":"Asciidoctor","description":"AsciiDoc processor with built-in HTML, DocBook and manual-page converters.","aliases":[],"kind":"software","website":"https://asciidoctor.org/","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.","license":"MIT","lifecycle":"active","example":false,"features":[{"name":"AsciiDoc conversion","status":"supported","detail":"Core outputs include HTML5, DocBook 5 and manual pages.","useCase":"Publish AsciiDoc technical documentation to HTML or DocBook","platforms":["Windows","macOS","Linux"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://asciidoctor.org/","locator":"Built-in converters, requirements, ecosystem and copyright/license","retrievedAt":"2026-10-07T13:32:27Z","kind":"vendor"}]},{"name":"PDF and EPUB generation","status":"limited","detail":"Additional converter gems provide these outputs; they are not built into core.","useCase":"Publish AsciiDoc technical documentation to HTML or DocBook","platforms":["Windows","macOS","Linux"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://asciidoctor.org/","locator":"Built-in converters, requirements, ecosystem and copyright/license","retrievedAt":"2026-10-07T13:32:27Z","kind":"vendor"}]},{"name":"Legacy processor migration","status":"limited","detail":"AsciiDoc.py 8.6 migration can require syntax, configuration and extension changes.","useCase":"Publish AsciiDoc technical documentation to HTML or DocBook","platforms":["Windows","macOS","Linux"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://docs.asciidoctor.org/asciidoctor/latest/migrate/asciidoc-py/","locator":"8.6 scope, compatibility mode, configuration and custom extensions","retrievedAt":"2026-10-07T13:32:27Z","kind":"vendor"}]},{"name":"Output sanitization by safe mode","status":"unsupported","detail":"Safe modes restrict processing actions but do not sanitize generated HTML.","useCase":"Publish AsciiDoc technical documentation to HTML or DocBook","platforms":["Windows","macOS","Linux"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://docs.asciidoctor.org/asciidoctor/latest/safe-modes/","locator":"Security assumptions; UNSAFE, SAFE and SECURE","retrievedAt":"2026-10-07T13:32:27Z","kind":"vendor"}]}],"alternatives":[],"slug":"asciidoctor","draftAlternatives":[{"targetSlug":"pandoc","status":"limited","detail":"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.","useCase":"Publish AsciiDoc technical documentation to HTML or DocBook","platforms":["Windows","macOS","Linux"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://asciidoctor.org/","locator":"Built-in converters, requirements, ecosystem and copyright/license","retrievedAt":"2026-10-07T13:32:27Z","kind":"vendor"},{"url":"https://pandoc.org/","locator":"AsciiDoc, HTML and DocBook input/output formats","retrievedAt":"2026-10-07T13:32:27Z","kind":"vendor"}]}],"evidence":[{"url":"https://asciidoctor.org/","locator":"Built-in converters, requirements, ecosystem and copyright/license","retrievedAt":"2026-10-07T13:32:27Z","kind":"vendor"}],"document":{"version":1,"references":[{"url":"https://asciidoctor.org/","locator":"Built-in converters, requirements, ecosystem and copyright/license","retrievedAt":"2026-10-07T13:32:27Z","id":"home","title":"Asciidoctor overview","kind":"vendor"},{"url":"https://docs.asciidoctor.org/asciidoctor/latest/safe-modes/","locator":"Security assumptions; UNSAFE, SAFE and SECURE","retrievedAt":"2026-10-07T13:32:27Z","id":"safe","title":"Safe modes","kind":"vendor"},{"url":"https://docs.asciidoctor.org/asciidoctor/latest/migrate/asciidoc-py/","locator":"8.6 scope, compatibility mode, configuration and custom extensions","retrievedAt":"2026-10-07T13:32:27Z","id":"migration","title":"Migration from AsciiDoc.py","kind":"vendor"},{"url":"https://docs.asciidoctor.org/asciidoctor/latest/api/","locator":"Loading and converting documents","retrievedAt":"2026-10-07T13:32:27Z","id":"api","title":"Asciidoctor API","kind":"vendor"},{"url":"https://pandoc.org/","locator":"AsciiDoc, HTML and DocBook input/output formats","retrievedAt":"2026-10-07T13:32:27Z","id":"pandoc","title":"Pandoc formats","kind":"vendor"}],"overviewCitations":["home"],"licenseCitations":["home"],"sections":[{"id":"workflow","heading":"Processing and integration","paragraphs":[{"id":"workflow-detail","content":[{"text":"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."}],"citations":["api","safe"]}]},{"id":"outputs","heading":"Core and additional converters","paragraphs":[{"id":"outputs-detail","content":[{"text":"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."}],"citations":["home"]}]},{"id":"migration","heading":"Moving legacy content","paragraphs":[{"id":"migration-detail","content":[{"text":"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."}],"citations":["migration"]}]},{"id":"security","heading":"Trust boundaries","paragraphs":[{"id":"security-detail","content":[{"text":"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."}],"citations":["safe"]}]},{"id":"license","heading":"License and substitution","paragraphs":[{"id":"license-detail","content":[{"text":"The processor is MIT-licensed. It can substitute for "},{"text":"Pandoc","targetSlug":"pandoc"},{"text":" 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."}],"citations":["home","pandoc","migration"]}]}]},"id":"Q756","revision":804,"updatedAt":"2026-10-13T09:47:21Z","sourceUrl":"https://substitutefor.net/entities/Q756?revision=804"}}