fix(docs): enable raw HTML in markdown with rehype-raw

- Add rehype-raw plugin to allow HTML elements in markdown
- Remove inline script tag from nodes.md (loaded globally in Head.astro)
- This fixes blueprint graph examples not rendering in production
This commit is contained in:
yhh
2026-01-05 19:12:47 +08:00
parent 51334dfc50
commit 6b5b4efa72
4 changed files with 1050 additions and 280 deletions

View File

@@ -15,6 +15,7 @@
"@astrojs/vue": "^5.1.3",
"@tailwindcss/vite": "^4.1.18",
"astro": "^5.6.1",
"rehype-raw": "^7.0.0",
"sharp": "^0.34.2",
"tailwindcss": "^4.1.18",
"vue": "^3.5.26"