Add a markdown viewer for .md files and live typed preview.
office.sejong.dev/pipeline/head This commit looks good

Render GitHub-flavored markdown in the browser with marked and sanitize HTML with DOMPurify.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
ysj7705andCursor committed 2026-09-14 13:55:41 +09:00
1 parent 545a2802e2
commit c4ae7495dd
10 files changed
+445 -9

No files matched your search

+18 -5
View File
@@ -3775,6 +3775,16 @@
"@types/d3-selection": "*"
}
},
"node_modules/@types/dompurify": {
"version": "3.0.5",
"resolved": "https://registry.npmjs.org/@types/dompurify/-/dompurify-3.0.5.tgz",
"integrity": "sha512-1Wg0g3BtQF7sSb27fJQAKck1HECM6zV1EB66j8JH9i3LCjYabJa0FSdiSgsD5K/RbrsR0SiraKacLB+T8ZVYAg==",
"dev": true,
"license": "MIT",
"dependencies": {
"@types/trusted-types": "*"
}
},
"node_modules/@types/estree": {
"version": "1.0.9",
"resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.9.tgz",
@@ -3973,8 +3983,8 @@
"version": "2.0.7",
"resolved": "https://registry.npmjs.org/@types/trusted-types/-/trusted-types-2.0.7.tgz",
"integrity": "sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==",
"license": "MIT",
"optional": true
"devOptional": true,
"license": "MIT"
},
"node_modules/@types/web-bluetooth": {
"version": "0.0.20",
@@ -5545,9 +5555,9 @@
"license": "MIT"
},
"node_modules/dompurify": {
"version": "3.4.12",
"resolved": "https://registry.npmjs.org/dompurify/-/dompurify-3.4.12.tgz",
"integrity": "sha512-zQvGet8Z2sWbQhCmfFz/T5QWH2oBmjnqK3qvOjaqaNLrLEF912WamU+ohnTp0TCep/MFVHpdJuCZEdFOdTnEFg==",
"version": "3.4.15",
"resolved": "https://registry.npmjs.org/dompurify/-/dompurify-3.4.15.tgz",
"integrity": "sha512-EUBjM+B+lkDE41iE82DDSCfkoPGfXx8IxFxPMjNzm/Uk4xDet77rTN9wqlxlVg71kK7XGuUMv6wUxJUwwv+Xyw==",
"license": "(MPL-2.0 OR Apache-2.0)",
"optionalDependencies": {
"@types/trusted-types": "^2.0.7"
@@ -9366,11 +9376,13 @@
"@rhwp/editor": "^0.7.18",
"@vueuse/core": "^11.3.0",
"ag-psd": "^31.0.2",
"dompurify": "^3.4.15",
"draco3d": "^1.5.7",
"element-plus": "^2.14.3",
"fflate": "^0.8.2",
"jscanify": "^1.4.3",
"lodash-es": "^4.17.21",
"marked": "^16.4.2",
"mermaid": "^11.16.0",
"occt-import-js": "^0.0.22",
"online-3d-viewer": "^0.18.0",
@@ -9391,6 +9403,7 @@
"@fontsource-variable/noto-sans-kr": "^5.3.0",
"@fontsource/noto-sans-kr": "^5.3.0",
"@noto-pdf-ts/fonts-kr": "^0.0.1-alpha.0",
"@types/dompurify": "^3.0.5",
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"@types/three": "^0.172.0",