Code blocks in the Theme Developer Handbook are missing line breaks #453
Labels
developer documentation (DevHub)
Improvements or additions to developer documentation
[Status] Done
Issue is completed
themes
Issues for Theme Developer Handbook
tracking issue
Use to track a series of related issues.
Issue Description
The Theme developer handbook has code blocks with PHP code examples, but the line breaks are missing. This causes the code to just stack up and is pretty un-readable. I've tested this logged in as well and on various browsers to make sure it wasn't just a cache issue.
URL of the Page with the Issue
https://developer.wordpress.org/themes/template-files-section/page-template-files/
Section of Page with the issue
Most sections but starts here: Creating Custom Page Templates for Global Use
As you get further into bigger chunks of code it gets worse.
Why is this a problem?
It's extremely hard to read the code blocks- especially longer ones further down the page.
Suggested Fix
Add the line breaks. Maybe it's a parsing issue with the newer code block UI?
The text was updated successfully, but these errors were encountered: