Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
The code blocks at https://www.drupal.org/docs/develop/coding-standards/api-documentation-a... break the line too early because the space is not wide enough. Almost all doc block examples are very hard to read and do not illustrate the coding standards correctly.
Proposed resolution
Either:
- Reduce the font size so that 80 characters fit into the main content in doc blocks.
- Allow code blocks to be wider so they can be 80 characters per line.
Are there other solutions?
Comments
Comment #2
tvn CreditAttribution: tvn at Drupal Association commentedComment #3
drumm#2480515: Code blocks should show 80 characters without wrapping