style: add image to figure plugin

- Improve styles for images, blockquotes, tables and more
- Fix unexpected line breaks
This commit is contained in:
radishzzz 2025-04-16 06:25:04 +01:00
parent 018f1c9b6c
commit 4ff44f9ac4
14 changed files with 126 additions and 59 deletions

View file

@ -2,7 +2,7 @@
"name": "astro-theme-retypeset",
"type": "module",
"version": "0.0.1",
"packageManager": "pnpm@10.8.0",
"packageManager": "pnpm@10.8.1",
"repository": "https://github.com/radishzzz/astro-theme-retypeset",
"scripts": {
"dev": "astro check && astro dev",
@ -30,8 +30,10 @@
"rehype-external-links": "^3.0.0",
"rehype-katex": "^7.0.1",
"rehype-slug": "^6.0.0",
"remark-directive": "^4.0.0",
"remark-math": "^6.0.0",
"sanitize-html": "^2.15.0"
"sanitize-html": "^2.15.0",
"unist-util-visit": "^5.0.0"
},
"devDependencies": {
"@antfu/eslint-config": "^4.12.0",