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
The existing --linesStyle flag sets the foreground and background colors for inline line numbers. This flag has no effect when using lineNumbersInTable=true, and lineNumbersInTable=true is the default when lineNos=true. So, out of the box when enabling line numbers, you cannot set the line number foreground and background colors without manually editing the stylesheet.
jmooring
changed the title
commands: Add --lineNumbersTable flat to gen chromastyles
commands: Add --lineNumbersTable flag to gen chromastyles
Apr 18, 2024
jmooring
changed the title
commands: Add --lineNumbersTable flag to gen chromastyles
commands: Add --lineNumbersTableStyle flag to gen chromastyles
Apr 18, 2024
jmooring
added a commit
to jmooring/hugo
that referenced
this issue
Apr 18, 2024
The existing
--linesStyle
flag sets the foreground and background colors for inline line numbers. This flag has no effect when usinglineNumbersInTable=true
, andlineNumbersInTable=true
is the default whenlineNos=true
. So, out of the box when enabling line numbers, you cannot set the line number foreground and background colors without manually editing the stylesheet.Using
lineNumbersInTable=true
is desirable to work around this Firefox bug that is unlikely to ever be fixed:https://bugzilla.mozilla.org/show_bug.cgi?id=1273836
At the same time, rename the existing
--linesStyle
flag to--lineNumbersInlineStyle
for symmetry.The text was updated successfully, but these errors were encountered: