Skip to content

install asciidoctor and pdf

Joseph Cayouette edited this page Mar 19, 2020 · 9 revisions

Install Asciidoctor and Asciidoctor PDF Gems

This guide will help you install the gems required to build documents from adoc sources in a local environment via asciidoctor or to build PDF documents from local sources via the asciidoctor-pdf gem.

Now that you have Ruby and rbev installed you can proceed with installation of asciidoctor and asciidoctor-pdf. We have also included support packages for various syntax highlighting options:

Install Asciidoctor:

gem install asciidoctor

Install Asciidoctor PDF:

gem install asciidoctor-pdf --pre

Install support packages:

gem install rouge coderay rb-pygments concurrent-ruby asciidoctor-diagram

Now that the primary build tools are installed and setup lets build the docs. Building the Docs!

Clone this wiki locally