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
{{ message }}
This repository has been archived by the owner on Jun 19, 2023. It is now read-only.
It would be nice to be able to highlight different lines on different code blocks simulatenously, as I'm going over two variations of the same code in one slide.
I can mimic this by merging into one code block, of course, which I do now, but this would allow for even higher degree of freedom...
Is there a way to achieve this?
The text was updated successfully, but these errors were encountered:
This seems like a decent idea, which could be implemented with a little modifications. I feel that the syntax is getting a little clunky though. Any suggestions on how to describe highlighting different lines on different code blocks at the same time?
I was thinking something like: data-code-focus="1#1-3,4,7|2#5" to describe this, using | and 1# to indicate different code blocks and allowing - or , to indicate specific lines within the code block.
To maintain compatibility with current syntax, something like data-code-focus="1-3,4,7|5" and data-code-block="1|2" can be used to represent the same lines.
It's obviously complex when you look at it from the outside, but this isn't a simple request to begin with.
I think 1#1-3,4|2#5-7 is really the best we can ever hope for...
To be honest I thought of much worse things when I opened to issue... :)
I’ve implemented this, but will probably work on some of the other issues before making a new release (probably going to be a major bump due to changes to Reveal’s plugin API).
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
It would be nice to be able to highlight different lines on different code blocks simulatenously, as I'm going over two variations of the same code in one slide.
I can mimic this by merging into one code block, of course, which I do now, but this would allow for even higher degree of freedom...
Is there a way to achieve this?
The text was updated successfully, but these errors were encountered: