mirror of
https://github.com/afoim/fuwari.git
synced 2026-01-31 00:53:19 +08:00
fix: 无法读取undefined的'split'属性错误
This commit is contained in:
@@ -14,7 +14,8 @@ import remarkMath from "remark-math";
|
||||
import remarkSectionize from "remark-sectionize";
|
||||
import { AdmonitionComponent } from "./src/plugins/rehype-component-admonition.mjs";
|
||||
import { GithubCardComponent } from "./src/plugins/rehype-component-github-card.mjs";
|
||||
import { rehypeImageFallback } from "./src/plugins/rehype-image-fallback.mjs";
|
||||
import rehypeImageFallback from "./src/plugins/rehype-image-fallback.mjs";
|
||||
import { siteConfig, imageFallbackConfig } from './src/config.ts';
|
||||
import { parseDirectiveNode } from "./src/plugins/remark-directive-rehype.js";
|
||||
import { remarkExcerpt } from "./src/plugins/remark-excerpt.js";
|
||||
import { remarkReadingTime } from "./src/plugins/remark-reading-time.mjs";
|
||||
@@ -66,7 +67,7 @@ export default defineConfig({
|
||||
rehypePlugins: [
|
||||
rehypeKatex,
|
||||
rehypeSlug,
|
||||
rehypeImageFallback,
|
||||
[rehypeImageFallback, imageFallbackConfig],
|
||||
[
|
||||
rehypeComponents,
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user