How-to guides
- Install adocfmt
Install adocfmt with Homebrew, pin it per project with mise, or download a release archive and put the binary on your PATH.
- Adopt adocfmt in a repository
Introduce adocfmt into an existing repository with one formatting commit, and keep the repository formatted after that.
- Check formatting in CI
Make a CI build fail when an AsciiDoc file in the repository is not formatted.
- Use adocfmt in IntelliJ IDEA
The adocfmt plugin makes Reformat Code format AsciiDoc files with adocfmt, in IntelliJ IDEA and the other JetBrains IDEs from version 2026.2 on.