Open cderv opened 1 year ago
I believe this is just because some missing first headers which makes this JS code adds the span
This gets apply on the <a>
in code chunks (added for Pandoc line numbering) and our CSS will apply
https://github.com/rstudio/pagedown/blob/6f27778df1acf592206a5a06d01ced04b2d2e0d1/inst/resources/css/default.css#L61-L66
We should probably see if newer paged.js still have this hooks, and if so add some CSS specific to handle this Pandoc feature , or some JS to remove those span in code blocks.
Pretty rare situation I believe though...
Just noticed that while testing other things
With special CSS rule
Maybe only some CSS to fix but I suspect this
<span>
should not be there 🤔All HTML structure where the leaders is included