Files
Folo/patches/@microflash__remark-callout-directives.patch
T
Innei 8007924a7f refactor: extract shared parse markdown
- Added `@microflash/remark-callout-directives` to `package.json` and `pnpm-lock.yaml`.
- Updated `MarkdownWeb` component to utilize a new markdown parsing utility.
- Removed unused imports related to `remark-gh-alerts` and refactored markdown parsing logic.
- Enhanced `parse-markdown` function to integrate with the new utility and support custom components.

This update improves markdown rendering capabilities and streamlines the codebase.

Signed-off-by: Innei <tukon479@gmail.com>
2024-12-31 23:52:34 +08:00

13 lines
511 B
Diff

diff --git a/package.json b/package.json
index de27f20188873e2f432fff3aba04bbe5a0a33389..d4926c3f2eb58a65d04354665db3b30c940dd3e5 100644
--- a/package.json
+++ b/package.json
@@ -28,6 +28,7 @@
"./config/github": "./themes/github/index.js",
"./config/vitepress": "./themes/vitepress/index.js",
"./theme/github": "./themes/github/index.css",
+ "./themes/*": "./themes/*",
"./theme/microflash": "./themes/microflash/index.css",
"./theme/vitepress": "./themes/vitepress/index.css"
},