jccp_a/vuepress/node_modules/@mdit-vue/plugin-title/dist/index.d.ts
hellcat ac91e1fbe4 1
2025-11-12 17:57:30 +08:00

22 lines
424 B
TypeScript

import { PluginSimple } from "markdown-it";
//#region src/title-plugin.d.ts
/**
* Get markdown page title info
*
* Extract it into env
*/
declare const titlePlugin: PluginSimple;
//#endregion
//#region src/types.d.ts
declare module '@mdit-vue/types' {
interface MarkdownItEnv {
/**
* The title that extracted by `@mdit-vue/plugin-title`
*/
title?: string;
}
}
//#endregion
export { titlePlugin };