forked from cljdoc/cljdoc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Downgraded highlight.js to latest v10. Highlight.js v11, without a custom plugin, will not render embedded HTML in code blocks (which is was we need for our pretty code callouts). I don't see us missing out on any v11 features. See highlightjs/highlight.js#2889 Required CSS mostly nabbed from: https://github.com/asciidoctor/asciidoctor/blob/main/src/stylesheets/asciidoctor.css To get code callouts to render, the AsciiDoctor `icons` attribute must be set to `font` (which is a little misleading, because it allow us to use CSS and does not require any special fonts). This did also impact rendered HTML for admonitions, so tweaked CSS so they look the same. Closes cljdoc#321
- Loading branch information
Showing
7 changed files
with
117 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
{:paths ["script"] | ||
:deps {lread/status-line {:git/url "https://github.com/lread/status-line.git" | ||
:deps {doric/doric {:mvn/version "0.9.0"} | ||
lread/status-line {:git/url "https://github.com/lread/status-line.git" | ||
:sha "35ed39645038e81b42cb15ed6753b8462e60a06d"}}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters