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
When I enabled the markup.highlight.lineNos and markup.highlight.lineNumbersInTable in hugo.toml, the syntax highlighting code block will overflow when the content is too long that exceed the div width.
Steps to reproduce:
enable markup.highlight.lineNos and markup.highlight.lineNumbersInTable in hugo.toml
Describe the problem:
When I enabled the
markup.highlight.lineNos
andmarkup.highlight.lineNumbersInTable
in hugo.toml, the syntax highlighting code block will overflow when the content is too long that exceed the div width.Steps to reproduce:
markup.highlight.lineNos
andmarkup.highlight.lineNumbersInTable
in hugo.tomlObserved Results:
if I turn the
lineNumbersInTable
to false, the overflowed part will be hidden.The code block should hide the overflowed element, and able to be scrolled horizontally to view the content.
I added a workaround to
_base.scss
, to get my expecting resultI'm not sure if it will cause any breaking changes, or anywhere else needed to be updated in order to fix it, so open a issue. Thanks for helping.
Relevant code exceptions or logs
N/A
The text was updated successfully, but these errors were encountered: