Support #<<
to highlight lines in revealjs?
#2627
Replies: 2 comments 4 replies
-
It's unlikely to happen because this is Pandoc/Reveal.js internal framework.
So is your |
Beta Was this translation helpful? Give feedback.
-
I believe the "code annotation" feature addresses this, see https://quarto.org/docs/authoring/code-annotation.html (if not feel free to reopen). |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I like the way to highlight lines in revealjs slides with the chunk option
code-line-numbers
, but one drawback to me is that the line numbers are hardcoded. This means that if I want to modify the chunk later, I have to change the line numbers, which is a bit annoying.Before using
revealjs
, I usedxaringan
which supported the special comment#<<
to highlight specific lines, like this:Would it be possible to support something like this?
Beta Was this translation helpful? Give feedback.
All reactions