Skip to content

Initialize syntax highlighting in all examples - #9

Merged
samuel-williams-shopify merged 1 commit into
mainfrom
fix-example-bootstrap
Aug 16, 2026
Merged

Initialize syntax highlighting in all examples#9
samuel-williams-shopify merged 1 commit into
mainfrom
fix-example-bootstrap

Conversation

@samuel-williams-shopify

Copy link
Copy Markdown
Contributor

Summary

  • add a shared bootstrap module for example pages
  • initialize the 15 examples that were previously missing or incompletely configuring Syntax
  • update the example template to use the shared bootstrap
  • preserve whitespace and overflow layout before direct <syntax-code> elements finish loading
  • add a regression test requiring highlighted examples to initialize Syntax

Verification

  • npm test (859 tests)
  • npm run format:check
  • loaded the Lisp example locally and verified its language and theme assets were requested successfully

@samuel-williams-shopify
samuel-williams-shopify merged commit 49a762d into main Aug 16, 2026
8 checks passed
@samuel-williams-shopify
samuel-williams-shopify deleted the fix-example-bootstrap branch August 16, 2026 01:30
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.

1 participant