Add Codemod to Wrap @example
Tag Content in a ts
Fence for Consistent Rendering
#4002
Labels
@example
Tag Content in a ts
Fence for Consistent Rendering
#4002
Currently, the
@example
tag content is not consistently wrapped in ats
fence, which causes rendering issues in some environments, such as in the popovers of Twoslash snippets on the website. While editors like VSCode handle unwrapped@example
tags fine, other environments might not render them correctly. To solve this, I propose adding a codemod to ensure all@example
tag content is wrapped in ats
fence.Codemod Behaviour: For each
@example
tag, check if the content is already wrapped in ats
fence. If not, automatically wrap it in ats
fence.The text was updated successfully, but these errors were encountered: