Skip to content

test(styles): add regression test for markdown max-width (#1452) - #1549

Open
Nwakaego-Ego wants to merge 1 commit into
processing:v1from
Nwakaego-Ego:test/markdown-regression-v1
Open

test(styles): add regression test for markdown max-width (#1452)#1549
Nwakaego-Ego wants to merge 1 commit into
processing:v1from
Nwakaego-Ego:test/markdown-regression-v1

Conversation

@Nwakaego-Ego

Copy link
Copy Markdown
Contributor

v1 cherry-pick of #1519.

@Nwakaego-Ego

Copy link
Copy Markdown
Contributor Author

cc @doradocodes

…1452)

Guards against the tutorial-layout regression (processing#1452) where an invalid
`@reference <utility>;` silently dropped the max-width cap on rendered
markdown, collapsing tutorial pages (e.g. /tutorials/intro-to-glsl/)
into an unreadable vertical column.

The test compiles styles/markdown.scss with sass and asserts the width
cap exists, equals $breakpoint-tablet, that .full-width opts out wider,
that no stray @reference survives compilation, and that no
`@reference <utility>;` exists in source (guarding the whole bug class).

Co-authored-by: julian-men <ianmenjones@gmail.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants