feat: import Word articles with embedded images
Showing
| ... | ... | @@ -13,6 +13,7 @@ |
| "build:astro": "astro check && astro build", | ||
| "preview": "astro preview", | ||
| "check": "astro check", | ||
| "test": "node --import tsx/esm --test tests/*.test.ts", | ||
| "start": "node --env-file=.env server.mjs", | ||
| "admin": "npm start", | ||
| "serve": "npm run build && npm start" | ||
| ... | ... | @@ -22,10 +23,16 @@ |
| "@astrojs/sitemap": "^3.7.3", | ||
| "astro": "5.18.2", | ||
| "gray-matter": "^4.0.3", | ||
| "marked": "^14.1.4" | ||
| "mammoth": "^1.12.0", | ||
| "marked": "^14.1.4", | ||
| "turndown": "^7.2.4", | ||
| "turndown-plugin-gfm": "^1.0.2" | ||
| }, | ||
| "devDependencies": { | ||
| "@astrojs/check": "^0.9.6", | ||
| "@types/turndown": "^5.0.6", | ||
| "docx": "^9.7.1", | ||
| "tsx": "^4.23.1", | ||
| "typescript": "^5.9.3" | ||
| } | ||
| } |
src/lib/word-import.ts
0 → 100644
tests/word-import.test.ts
0 → 100644
Please register or sign in to comment