You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this is not specific to Asciidoctor and a kinda feature of reveal.js itself - line numbers and lines highlighting are controlled by the same data-line-numbers, see https://revealjs.com/code/#line-numbers-%26-highlights
You can enable line numbers by adding data-line-numbers to your <code> tags. If you want to highlight specific lines you can provide a comma separated list of line numbers using the same attribute.
however one can hide line numbers using custom CSS
.hljs-ln-numbers {
display: none;
}
Syntax colouring disappears.
seems to be specific to Asciidoc when # presented in code block
I don't know if I'm doing something wrong. My setup is:
If I wrote code such as:
then all works as expected, and I get coloured syntax in the slide:
But if I try to highlight one line:
Then two unexpected things happen:
I'm using
I'm I doing something wrong? Is this a known issue? I was unable to find anything...
The text was updated successfully, but these errors were encountered: