git clone https://github.com/spmallette/rouge
cd rouge
git checkout mm-adt
- Build the gem:
$ gem build rouge.gemspec
- Locally install the gem:
$ gem install --local rouge-3.4.1.pre.mmadt.gem
- In the terminal where you are running asciidoctor set the
ROUGE_VERSION
environment variable:$ export ROUGE_VERSION=3.4.1.pre.mmadt
- Use
mmadt
as the "format" as in[source,mmadt]
within asciidoc files. - Set the
source-highlighter
to "rouge". $ asciidoctor -a source-highlighter=rouge -a rouge-style=thankful_eyes *.adoc -D html/
** bundle exec rackup