You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 35db652
Browse filesBrowse the repository at this point in the historyBrowse files
feat(markdown): render GitHub-style alerts in the webview (Zoo-Code-Org#258)
GitHub-style alerts ([!NOTE], [!TIP], [!IMPORTANT], [!WARNING], [!CAUTION])
were rendered as plain blockquotes, losing their semantic meaning and visual
priority. Adds a focused remark transform (no new dependency) that detects a
leading alert marker in a blockquote and tags it, plus a blockquote component
that renders a codicon + label header and per-type accent styling using VS Code
theme variables. Normal blockquotes (and unsupported markers) render unchanged.
ClosesZoo-Code-Org#258
it("renders alert content with inline markdown (bold, code, links)",async()=>{
150
+
constmarkdown=`> [!WARNING]\n> Be **careful** with \`rm -rf\` and see [docs](https://example.com).`
0 commit comments