@mdit/plugin-embed
Advanced tools
+18
-18
@@ -6,20 +6,20 @@ import { PluginWithOptions } from "markdown-it"; | ||
| /** | ||
| * Embed token name | ||
| * | ||
| * 嵌入令牌名称 | ||
| */ | ||
| * Embed token name | ||
| * | ||
| * 嵌入令牌名称 | ||
| */ | ||
| name: string; | ||
| /** | ||
| * Setup function to generate embed HTML | ||
| * | ||
| * 生成嵌入 HTML 的设置函数 | ||
| */ | ||
| * Setup function to generate embed HTML | ||
| * | ||
| * 生成嵌入 HTML 的设置函数 | ||
| */ | ||
| setup: (ref: string, isInline: boolean) => string; | ||
| /** | ||
| * Whether the embed can be used inline | ||
| * | ||
| * 是否允许在行内使用 | ||
| * | ||
| * @default false | ||
| */ | ||
| * Whether the embed can be used inline | ||
| * | ||
| * 是否允许在行内使用 | ||
| * | ||
| * @default false | ||
| */ | ||
| allowInline?: boolean; | ||
@@ -29,6 +29,6 @@ } | ||
| /** | ||
| * Embed configurations | ||
| * | ||
| * 嵌入配置 | ||
| */ | ||
| * Embed configurations | ||
| * | ||
| * 嵌入配置 | ||
| */ | ||
| config?: EmbedConfig[]; | ||
@@ -35,0 +35,0 @@ } |
+1
-1
| { | ||
| "name": "@mdit/plugin-embed", | ||
| "version": "0.25.1", | ||
| "version": "0.25.2", | ||
| "description": "embed plugin for MarkdownIt", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
| {"version":3,"file":"index.d.ts","names":[],"sources":["../src/options.ts","../src/plugin.ts"],"mappings":";;;UAAiB,WAAA;;;AAAjB;;;EAME,IAAA;;;;;;EAOA,KAAA,GAAQ,GAAA,UAAa,QAAA;EASrB;AAGF;;;;;;EAHE,WAAA;AAAA;AAAA,UAGe,sBAAA;EC4KqB;;;;;EDtKpC,MAAA,GAAS,WAAA;AAAA;;;cCsKE,KAAA,EAAO,iBAAA,CAAkB,sBAAA"} |
30063
-0.92%8
-11.11%