25 lines
546 B
TypeScript
25 lines
546 B
TypeScript
import type { Plugin } from 'vuepress/core';
|
|
import type { MarkdownHintPluginOptions } from './options.js';
|
|
/**
|
|
* Markdown hint plugin
|
|
*
|
|
* Markdown 提示插件
|
|
*
|
|
* @param options - plugin options / 插件选项
|
|
*
|
|
* @example
|
|
* ```ts
|
|
* import { markdownHintPlugin } from '@vuepress/plugin-markdown-hint'
|
|
*
|
|
* export default {
|
|
* plugins: [
|
|
* markdownHintPlugin({
|
|
* hint: true,
|
|
* alert: true,
|
|
* }),
|
|
* ],
|
|
* }
|
|
* ```
|
|
*/
|
|
export declare const markdownHintPlugin: (options: MarkdownHintPluginOptions) => Plugin;
|