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've decided to start adding the :linenos: directive to all code blocks. It works but not exactly as I expected. When adding the :linenos: all code blocks are trimmed, this means that the code block boxes are not fully expanded.
Screenshot below; the tl;dr is simply that normal code blocks expand to fill column width but once linenos are enabled, the code block elements are only as wide as their contents.
Haven't reproduced locally yet but I'm assuming this is "just" an aesthetics issue and no content is being hidden/cut off. Either way I'm guessing the addition of :linenos: is adding a class to a nearby element whose width, etc styling is overriding whatever I or my predecessors did to the code blocks to make them full-width.
The text was updated successfully, but these errors were encountered:
In an email, @lliendo states:
Screenshot below; the tl;dr is simply that normal code blocks expand to fill column width but once linenos are enabled, the code block elements are only as wide as their contents.
Haven't reproduced locally yet but I'm assuming this is "just" an aesthetics issue and no content is being hidden/cut off. Either way I'm guessing the addition of
:linenos:
is adding a class to a nearby element whosewidth
, etc styling is overriding whatever I or my predecessors did to the code blocks to make them full-width.The text was updated successfully, but these errors were encountered: