We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi. I have problem with local copy of reveal.js and highlight.js
reveal.js
highlight.js
Download highlight.js from https://highlightjs.org/download/ folder and unpack archive to folder
Highlight.js v11.7.0 (git: 82688fad18)
Download reveal.js from GitHub:
git clone -b 3.9.2 --depth 1 https://github.com/hakimel/reveal.js.git
asciidoctor-revealjs version:
╰─➤ asciidoctor-revealjs-macos --version Asciidoctor reveal.js 4.1.0 using Asciidoctor.js 2.2.1 (Asciidoctor 2.0.12) [https://asciidoctor.org] Runtime Environment (node v12.13.1 on darwin) CLI version 3.2.0
Build demo:
asciidoctor-revealjs-macos demo.adoc
Show directory data:
╰─➤ tree -L 1 . . ├── demo.adoc ├── demo.html ├── highlight └── reveal.js
Comment highlightjsdit, highlightjs-theme to use bundled version.
highlightjsdit
highlightjs-theme
= Hello :revealjsdir: reveal.js :revealjs_theme: white :revealjs_controls: false :highlightjsdir: highlight :highlightjs-theme: highlight/styles/stackoverflow-dark.min.css :source-highlighter: highlightjs == Test [source,java] ---- public class TestClass { public TestClass() { } public void testMethod() { } } ---- [source,java,linenums,highlight=2..3] ---- public class TestClass { public TestClass() { } public void testMethod() { } } ----
The text was updated successfully, but these errors were encountered:
As far as I remember reveal.js 3.9.2 is not compatible with Highlight.js >= 10. You should use highlight.js 9.18.0.
Sorry, something went wrong.
@Mogztter I found this part:
asciidoctor-reveal.js/lib/asciidoctor-revealjs/highlightjs.rb
Line 9 in 19cfd09
Originally, i tried to change theme, but without success
this commit is only available on 5.0.0-rc.1 (based on reveal.js 4): https://github.com/asciidoctor/asciidoctor-reveal.js/releases/tag/v5.0.0-rc.1
No branches or pull requests
Hi.
I have problem with local copy of
reveal.js
andhighlight.js
Steps
Download
highlight.js
from https://highlightjs.org/download/ folder and unpack archive to folderHighlight.js v11.7.0 (git: 82688fad18)
Download
reveal.js
from GitHub:git clone -b 3.9.2 --depth 1 https://github.com/hakimel/reveal.js.git
asciidoctor-revealjs version:
Build demo:
asciidoctor-revealjs-macos demo.adoc
Show directory data:
Code
Comment
highlightjsdit
,highlightjs-theme
to use bundled version.Results
The text was updated successfully, but these errors were encountered: