Affected surface
source syntax
Use case
Documents that demonstrate and/or explain HTML, JSX or XML code, such as AI output regarding changes made to such documents and breakdowns of components of language libraries. It should be possible to use HTML/JSX-like syntax inside @code blocks regardless of the specified language.
Why the current format cannot cover it
- Attempted to use HTML/XML elements in
@code lang="html" block. Error: @code contains raw HTML/JSX-like syntax
Required updates
Compatibility impact
Compatible language change. Existing documents will remain valid. Rendered output should be unaffected as content inside @code blocks should be treated as pre-formatted code.
Affected surface
source syntax
Use case
Documents that demonstrate and/or explain HTML, JSX or XML code, such as AI output regarding changes made to such documents and breakdowns of components of language libraries. It should be possible to use HTML/JSX-like syntax inside
@codeblocks regardless of the specified language.Why the current format cannot cover it
@code lang="html"block. Error:@code contains raw HTML/JSX-like syntaxRequired updates
Compatibility impact
Compatible language change. Existing documents will remain valid. Rendered output should be unaffected as content inside
@codeblocks should be treated as pre-formatted code.