mirror of
https://github.com/MCKero6423/fuwari.git
synced 2026-10-02 03:15:35 +00:00
添加自动化插件
This commit is contained in:
1 parent
7f52d576ec
commit
c789262d5c
2 files changed
+76
No files matched your search
@@ -24,6 +24,7 @@ import { remarkExcerpt } from "./src/plugins/remark-excerpt.js";
|
||||
import { remarkReadingTime } from "./src/plugins/remark-reading-time.mjs";
|
||||
import { pluginCustomCopyButton } from "./src/plugins/expressive-code/custom-copy-button.js";
|
||||
import rehypeExternalLinks from 'rehype-external-links';
|
||||
import { rehypeImageOptimization } from "./rehype-image-optimization.mjs";
|
||||
|
||||
// https://astro.build/config
|
||||
export default defineConfig({
|
||||
@@ -114,6 +115,7 @@ export default defineConfig({
|
||||
parseDirectiveNode,
|
||||
],
|
||||
rehypePlugins: [
|
||||
rehypeImageOptimization,
|
||||
rehypeKatex,
|
||||
rehypeSlug,
|
||||
[
|
||||
|
||||
Reference in new issue
Block a user