26 lines
472 B
TypeScript
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 };
|