15 lines
602 B
TypeScript
15 lines
602 B
TypeScript
import type { ExactLocaleConfig } from '@vuepress/helper';
|
|
import type { PluginWithOptions } from 'markdown-it';
|
|
import type { MarkdownHintPluginLocaleData } from './options.js';
|
|
export type MarkdownItHintOptions = ExactLocaleConfig<MarkdownHintPluginLocaleData>;
|
|
export type MarkdownHintContainerName = keyof MarkdownHintPluginLocaleData;
|
|
/**
|
|
* Hint container markdown-it plugin
|
|
*
|
|
* 提示容器 markdown-it 插件
|
|
*
|
|
* @param md - markdown-it instance / markdown-it 实例
|
|
* @param options - plugin options / 插件选项
|
|
*/
|
|
export declare const hint: PluginWithOptions<MarkdownItHintOptions>;
|