reveal.js icon indicating copy to clipboard operation
reveal.js copied to clipboard

Markdown fragment target

Open cedriclecocq opened this issue 3 years ago • 2 comments

Hi,

i try to apply fragment class to list element : image

If the list element contain only text it's works, but if the list element contain a formatted inside element, fragment class is applied to that inside element. image next image next image

Is there a way to avoid this?

Thanks

P.S. : the problem is not limited to list element : it's the same with simple text lines

cedriclecocq avatar Sep 19 '22 22:09 cedriclecocq

We have the same problem with nested lists : fragment applied on first level list element in markdown are applied to a nested "p" inside the "li" tag instead of the "li" tag himself.

cedriclecocq avatar Sep 27 '22 20:09 cedriclecocq

There's a workaround: https://github.com/hakimel/reveal.js/issues/1848#issuecomment-1646285309

thawk avatar Apr 04 '24 01:04 thawk