libasciidoc
A Go library and CLI for converting AsciiDoc to HTML5 and DOCX.
What is libasciidoc?
libasciidoc is a tool for converting AsciiDoc documents into other formats. You can use it as a command-line tool to convert your documents, as a Go library to integrate into your own applications, or as a static site generator to build documentation websites.
Key Features
-
HTML5 and XHTML5 output — render AsciiDoc to clean, standards-compliant HTML
-
DOCX output — generate Word documents with theme support for professional styling
-
Static site generation — build a documentation website from a directory of AsciiDoc files
-
Syntax highlighting — automatic code highlighting via Chroma
-
Theme support — style DOCX output using Asciidoctor PDF theme YAML files
Get Started
Getting Started — install the tools and convert your first document.
Learn More
-
DOCX Conversion — generate styled Word documents with theme support
-
DOCX Theme Reference — full reference for theme YAML properties
-
Static Site Mode — build a documentation website from AsciiDoc files
-
Using the Library — integrate libasciidoc into your Go application
-
Examples — complete, runnable examples for common use cases
-
Contributing — development setup and architecture overview