-
Notifications
You must be signed in to change notification settings - Fork 188
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
Fixes data-fragment-index on code block #533
Conversation
Thanks! |
Forced push the changes. Tests are passing on my machine 😀 |
Do you want a sample of it in action ? |
And it also works on the CI 😉
Yes, that would be great! Please add an example in https://github.com/asciidoctor/asciidoctor-reveal.js/blob/master/examples/release-5.2.adoc (it will be published by Netlify: https://deploy-preview-533--asciidoctor-revealjs-examples.netlify.app/release-5.2) |
Done ! |
Hi, thanks a lot for the update. I wanted to make the listing appearing immediately in the slide, together with the first fragment, do you know how to make that work? |
Not sure exactly what you want to achieve. You want the code to be displayed as soon as the slide is focused with the first callout, is this correct ? |
Yes, basically I'd like that as soon as you move onto the slide, the code snippet that is within that slide is visible, with the focus on the highlighted line at the first step.
And I'd like that as soon as I jump to that slide, the code snippet is shown, and line 2 is highlighted. I managed to make a workaround, but it is not ideal as I had to duplicate the code and it doesn't highlight the line 2 straight away.
|
Links #532