You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed a change in Pandoc 2.8 (which might be from 9f984ff), but I'm not sure it is intended. Before 2.8, attributes of a header are added to its parent div (or section) when --section-divs is enabled, such as the class attribute:
(Note that the id attribute is still on the div instead of h1, though.)
We have plenty of (R Markdown) applications that depend on the previous behavior, i.e., the class attribute being added to the parent div instead of the header itself. For example, previously we could style a whole section by defining CSS rules for .foo { }. Now these rules are only applied to the header elements. We also have JavaScript applications that rely on this behavior. I wonder if there is a chance to restore the old behavior. Thank you!
pdiakumis, tcgriffith, TianyiShi2001, zkamvar and springuper