14 lines
522 B
TypeScript
14 lines
522 B
TypeScript
import type { ExactLocaleConfig } from '@vuepress/helper';
|
|
import type { PluginWithOptions } from 'markdown-it';
|
|
import type { MarkdownHintPluginLocaleData } from './options.js';
|
|
export type MarkdownItAlertOptions = ExactLocaleConfig<MarkdownHintPluginLocaleData>;
|
|
/**
|
|
* GFM alert markdown-it plugin
|
|
*
|
|
* GFM 警告 markdown-it 插件
|
|
*
|
|
* @param md - markdown-it instance / markdown-it 实例
|
|
* @param options - plugin options / 插件选项
|
|
*/
|
|
export declare const alert: PluginWithOptions<MarkdownItAlertOptions>;
|