feat: import Word articles with embedded images
Showing
| ... | ... | @@ -15,17 +15,24 @@ |
| "check": "astro check", | ||
| "start": "node --env-file-if-exists=.env server.mjs", | ||
| "admin": "npm start", | ||
| "serve": "npm run build && npm start" | ||
| "serve": "npm run build && npm start", | ||
| "test": "tsx --test test/*.test.ts" | ||
| }, | ||
| "dependencies": { | ||
| "@astrojs/node": "9.5.5", | ||
| "@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
File added
test-artifacts/test.png
0 → 100644
4.93 KB
test/word-import.test.ts
0 → 100644