Skip to content

Commit

Permalink
Merge pull request #428 from ysb33r/syntax-highlighting-2.x
Browse files Browse the repository at this point in the history
Use Coderay as source highligther on 2.x (#303)
  • Loading branch information
ysb33r committed Jul 4, 2019
2 parents 207382b + 5969b79 commit fd1994c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ asciidoctor {
}

attributes toc: 'right',
toclevels: 2
toclevels: 2,
'source-highlighter': 'coderay'

docProjects.each { proj ->
attributes "plugin-${proj}" : file("${prepareSources.destinationDir}/${pluginDirName(proj)}/src")
Expand Down

0 comments on commit fd1994c

Please sign in to comment.