Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
24138c10
Commit
24138c10
authored
Jun 04, 2020
by
Andy Wilkinson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use highlightjs for syntax highlighting in Asciidoctor's HTML output
Closes gh-21701
parent
c0f748e1
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1 addition
and
3 deletions
+1
-3
AsciidoctorConventions.java
...rg/springframework/boot/build/AsciidoctorConventions.java
+1
-0
index.adoc
...-boot-actuator-autoconfigure/src/docs/asciidoc/index.adoc
+0
-1
index.adoc
...ls/spring-boot-gradle-plugin/src/docs/asciidoc/index.adoc
+0
-1
index.adoc
...ols/spring-boot-maven-plugin/src/docs/asciidoc/index.adoc
+0
-1
No files found.
buildSrc/src/main/java/org/springframework/boot/build/AsciidoctorConventions.java
View file @
24138c10
...
...
@@ -138,6 +138,7 @@ class AsciidoctorConventions {
private
void
configureHtmlOnlyAttributes
(
AbstractAsciidoctorTask
asciidoctorTask
)
{
Map
<
String
,
Object
>
attributes
=
new
HashMap
<>();
attributes
.
put
(
"source-highlighter"
,
"highlightjs"
);
attributes
.
put
(
"highlightjsdir"
,
"js/highlight"
);
attributes
.
put
(
"highlightjs-theme"
,
"github"
);
attributes
.
put
(
"linkcss"
,
true
);
...
...
spring-boot-project/spring-boot-actuator-autoconfigure/src/docs/asciidoc/index.adoc
View file @
24138c10
...
...
@@ -3,7 +3,6 @@ Andy Wilkinson
:doctype: book
:toc: left
:toclevels: 4
:source-highlighter: prettify
:numbered:
:icons: font
:hide-uri-scheme:
...
...
spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/docs/asciidoc/index.adoc
View file @
24138c10
...
...
@@ -3,7 +3,6 @@ Andy Wilkinson, Scott Frederick
:doctype: book
:toc: left
:toclevels: 4
:source-highlighter: prettify
:numbered:
:icons: font
:hide-uri-scheme:
...
...
spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/docs/asciidoc/index.adoc
View file @
24138c10
...
...
@@ -3,7 +3,6 @@ Stephane Nicoll, Andy Wilkinson, Scott Frederick
:doctype: book
:toc: left
:toclevels: 4
:source-highlighter: prettify
:numbered:
:icons: font
:hide-uri-scheme:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment