Replies: 3 comments 3 replies
-
Hi Pito, you are correct that this is not the right place. “Discussions” would be more fitting for questions like this. As for a short answer (and not hard to find): https://revealjs.com/code/. |
Beta Was this translation helpful? Give feedback.
2 replies
-
I’ll move this to discussions. |
Beta Was this translation helpful? Give feedback.
0 replies
-
And for a copy functionality, you could try a plugin I made: Copycode. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First of all, please tell me if there's a different place for me to post a question like this. Is there a forum or a discord channel?
I have lots of source code in my slides and I have been using highlightjs. Highlightjs does not have a feature for line numbers. And yet I have seen examples of revealjs pages with source code highlighted.
How is that done? A different code highlight package? Is there a sample or some doc on how to do that? My ideal code block in a presentation would have line numbers and smart copy/paste (where the line numbers are not copied.)
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions