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
It looks as though Format.jl sets the CSS border, margins, and padding of a pre.hljl selector using hard-coded values. In my testing, a theme cannot override these settings. This complicates downstream usage. Most saliently, the caller cannot set them in the pre selector for itself and have those values respected across a variety of containers. (See JunoLab/Weave.jl#172 (comment).)
Options would be to remove these values from the pre.hljl selector in Format.jl, or make the values changeable via the theme.
The text was updated successfully, but these errors were encountered:
I agree that hard-coded values in the CSS are not ideal. If nothing else, we could make it configurable, so that you can override the values or have a way of opting out of creating the pre.hljl block here:
It looks as though Format.jl sets the CSS border, margins, and padding of a
pre.hljl
selector using hard-coded values. In my testing, a theme cannot override these settings. This complicates downstream usage. Most saliently, the caller cannot set them in thepre
selector for itself and have those values respected across a variety of containers. (See JunoLab/Weave.jl#172 (comment).)Options would be to remove these values from the
pre.hljl
selector in Format.jl, or make the values changeable via the theme.The text was updated successfully, but these errors were encountered: