test/node_modules/@mdit-vue/plugin-title/dist/index.d.ts
2024-08-13 09:27:52 +08:00

20 lines
363 B
TypeScript

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