Inspectopedia
 
2024.3

Wide code block

Warning
New
Last modified: 03 December 2024

Detects code blocks with long lines.

The frontend adds a horizontal scroll bar to code block elements with lines that don't fit inside the block. The maximum width of the code block element can fit lines up to 70 characters without a scroll bar. This inspection highlights code blocks with long lines: rearrange such code to avoid truncated examples for your readers.

You can change the maximum line length for this inspection.