Inline Code Escaping Tests
These examples should render as literal code, not affect layout or be hidden by the browser.
Backticked HTML Comment (link-preview marker)
This should be visible as code (escaped): <!-- link-preview -->
Mixed in text before and after: prefix <!-- link-preview --> suffix.
Backticked HTML Tag
This should render as inline code, not a real element: <div class="x">hello</div>
Control: Real HTML (not backticked)
This is real HTML and should render: chip
Ensure gallery/link-preview blocks unaffected
:::link-preview url="https://github.com/microsoft/TypeScript" title="GitHub - microsoft/TypeScript: TypeScript is a superset of JavaScript that compiles to clean JavaScript output." description="TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - microsoft/TypeScript" thumbnail="https://vnqodzputugappaozvrg.supabase.co/storage/v1/object/public/link-preview-images/7c872867bf9bed88cbe36d92bda1b58f20842d4bf647dc31b355767738381026.png" :::