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

26 lines
472 B
TypeScript

import { PluginWithOptions } from 'markdown-it';
interface MarkdownItImgMarkOptions {
/**
* lightmode only ids
*
* 日间模式 ID
*
* @default ["light"]
*/
light?: string[];
/**
* darkmode only ids
*
* 夜间模式 ID
*
* @default ["dark"]
*/
dark?: string[];
}
declare const imgMark: PluginWithOptions<MarkdownItImgMarkOptions>;
export { imgMark };
export type { MarkdownItImgMarkOptions };