Skip to content

Avoid wrapping PHP 8.5 release code blocks#1914

Open
theodorejb wants to merge 1 commit into
php:masterfrom
theodorejb:improve-code-blocks
Open

Avoid wrapping PHP 8.5 release code blocks#1914
theodorejb wants to merge 1 commit into
php:masterfrom
theodorejb:improve-code-blocks

Conversation

@theodorejb

Copy link
Copy Markdown
Contributor

This improves readability (particularly on smaller screens), since code blocks with overflow can be easily scrolled horizontally to read longer lines, rather than trying to visually parse syntax with line breaks in unintended places (which can even appear invalid when a line break is in the middle of a token).

Before:
before 2

After:
after 2

This improves readability (particularly on smaller screens), since code blocks with overflow can be easily scrolled horizontally to read longer lines, rather than trying to visually parse syntax with line breaks in unintended places (which can even appear invalid when a line break is in the middle of a token).
@saundefined

Copy link
Copy Markdown
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants