Md features#16
Conversation
powerjg
left a comment
There was a problem hiding this comment.
Is it possible to put this code (especially the copy button code) in the marp engine instead of the wrapper?
According to my understanding, Copy functionality is part of JS not HTML (at least I don't know any way to implement this with HTML only), and Marp engine is only able to customize stuff while converting md to HTML, I am not sure if we can use copy with Marp engine. |
I think this is too strong. There's definitely javascript in the Marp slides (i.e., how else would they be slides?) See something like http://localhost:8000/slides/02-Using-gem5/04-cache-hierarchies.html where you can see the slides in the iframe without the iframe. |
Notes: When merge need to change build-slides.yml to pass variable engine to use custom engine in HTML generation.
Demo for adding a hidden slides