diff --git a/quartz/plugins/types.ts b/quartz/plugins/types.ts index 8b995baf3..43d8550c6 100644 --- a/quartz/plugins/types.ts +++ b/quartz/plugins/types.ts @@ -1,4 +1,4 @@ -import { PluggableList } from "unified" +import { PluggableList, Pluggable } from "unified" import { StaticResources } from "../util/resources" import { ProcessedContent } from "./vfile" import { QuartzComponent } from "../components/types" @@ -53,7 +53,7 @@ export type QuartzParserPlugin = ( export type QuartzParserPluginInstance = { name: string textTransform: (ctx: BuildCtx, src: string | Buffer) => string | Buffer - markdownPlugins: (ctx: BuildCtx) => PluggableList - htmlPlugins: (ctx: BuildCtx) => PluggableList + markdownPlugins: (ctx: BuildCtx) => Pluggable + htmlPlugins: (ctx: BuildCtx) => Pluggable externalResources: (ctx: BuildCtx) => Partial }