asciidoctor

A processor that converts AsciiDoc files to a publishable format. More information: <https://docs.asciidoctor.org>.

Install

All systems
curl cmd.cat/asciidoctor.sh
Debian Debian
apt-get install asciidoctor
Ubuntu
apt-get install asciidoctor
Alpine
apk add asciidoctor
Arch Arch Linux
pacman -S asciidoctor
image/svg+xml Kali Linux
apt-get install asciidoctor
Fedora
dnf install asciidoctor
Windows (WSL2)
sudo apt-get update sudo apt-get install asciidoctor
OS X
brew install asciidoctor
Raspbian
apt-get install asciidoctor
Docker
docker run cmd.cat/asciidoctor asciidoctor powered by Commando

A processor that converts AsciiDoc files to a publishable format. More information: <https://docs.asciidoctor.org>.

  • Convert a specific `.adoc` file to HTML (the default output format):
    asciidoctor path/to/file.adoc
  • Convert a specific `.adoc` file to HTML and link a CSS stylesheet:
    asciidoctor -a stylesheet=path/to/stylesheet.css path/to/file.adoc
  • Convert a specific `.adoc` file to embeddable HTML, removing everything except the body:
    asciidoctor --embedded path/to/file.adoc
  • Convert a specific `.adoc` file to a PDF using the `asciidoctor-pdf` library:
    asciidoctor --backend=pdf --require=asciidoctor-pdf path/to/file.adoc

© tl;dr; authors and contributors