remark
remark copied to clipboard
id handling on accumulative slides
Hi,
I am having an issue where I am having elements on accumulative slides with an id. Because the content is copied to the next step of the accumulative slide, the id exists twice and I can only work with the first element with this id. Often I can get around this problem using classes, but <svg> tags use ids internally for markers which are also not displayed on accumulative slides except the first.
Hi @LukasAV -- could you please send us a minimal example so I'm sure I understand correctly? Cheers,
A minimal example would be to just have any tag with an id followed by a --. E.g.
<div id="banana"></div>
--
other text
This will output a series of div.remark-slide-container that each have a div#banana. Using document.getElementById('banana') will return the first, ignoring all others.