Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Highlight.js extension #1744

Open
wants to merge 1 commit into
base: 3.0.x
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docs/modules/extend/pages/extensions/ecosystem.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
:uri-ext-mathjax-gl: https://gitlab.com/djencks/asciidoctor-mathjax.js
:uri-ext-openblock-gl: https://gitlab.com/djencks/asciidoctor-openblock
:uri-ext-template-gl: https://gitlab.com/djencks/asciidoctor-template
:uri-ext-highlight-gh: https://github.com/jirutka/asciidoctor-highlight.js

Here's a list of extensions provided by the awesome community:

Expand All @@ -41,6 +42,10 @@ Emoji::
Inline macro to render `emoji:heart[]` as an `<img>` that points to a remote SVG using {uri-twemoji}[Twemoji from Twitter]. +
{uri-ext-emoji-gh}

Highlight.js::
Highlighting source listing blocks using https://highlightjs.org[highlight.js] during document conversion (instead of in browser as the built-in highlight.js support). +
{uri-ext-highlight-gh}

Interactive runner::
Transform AsciiDoc code listings into interactive playgrounds which run in the browser.
Add the `%interactive` option to your `[source]` block. +
Expand Down