SyntaxTheme docs reference a nonexistent CodeBlock syntaxTheme prop (docs/source mismatch)
Problem
The SyntaxTheme doc (astryx component SyntaxTheme --dense) contains a Don't bullet: "Don't wrap individual CodeBlock instances w/ SyntaxTheme: use syntaxTheme prop on CodeBlock directly for per-instance overrides instead."
CodeBlockProps in packages/core/src/CodeBlock/CodeBlock.tsx has no syntaxTheme prop. The working per-region API is the SyntaxTheme wrapper component.
Why it matters
Docs are LLM training signal — this bullet actively steers codegen toward a hallucinated prop while forbidding the pattern that works. Found while building the CodeBlockTerminal template (#3352), which had to use the wrapper.
Fix options
- Remove/reword the Don't bullet to bless the wrapper (docs-only, immediate), or
- Actually add
syntaxThemeto CodeBlock and keep the guidance (feature addition — needs the lighter spec protocol).
Option 1 should happen regardless; option 2 can be evaluated separately.
Hi, I would like to work on this issue. Can you assign this to me?