|
@@ -1,3 +1,5 @@
|
|
|
|
|
+import { HastNode } from 'hast-util-select';
|
|
|
|
|
+
|
|
|
import { XssOptionConfig } from '~/services/xss/xssOption';
|
|
import { XssOptionConfig } from '~/services/xss/xssOption';
|
|
|
|
|
|
|
|
// export type GrowiHydratedEnv = {
|
|
// export type GrowiHydratedEnv = {
|
|
@@ -18,3 +20,5 @@ export type RendererConfig = {
|
|
|
plantumlUri: string | null,
|
|
plantumlUri: string | null,
|
|
|
blockdiagUri: string | null,
|
|
blockdiagUri: string | null,
|
|
|
} & XssOptionConfig;
|
|
} & XssOptionConfig;
|
|
|
|
|
+
|
|
|
|
|
+export type RehypePlugin = (option: any) => (node: HastNode) => void
|