Use Rouge syntax highlighting in PDF version of Reference Manual

This commit uses a tip provided by @mojavelinux to set the syntax
highlighter to Rouge for the PDF version of the User Guide.

Once Asciidoctor 1.5.7 has been released we will likely switch to Rouge
for the HTML version of the Reference Manual as well.

Issue: SPR-14997
This commit is contained in:
Sam Brannen
2017-04-06 18:07:19 +02:00
parent b403fb3749
commit 3a4b205b20
8 changed files with 8 additions and 1 deletions

View File

@@ -5,6 +5,7 @@
:doc-spring-boot: {doc-root}/spring-boot/docs/current/reference
:toc: left
:toclevels: 2
ifdef::backend-pdf[:source-highlighter: rouge]
The adoption of the test-driven-development (TDD) approach to software
development is certainly advocated by the Spring team, and so coverage of Spring's