🚨 Active Supply Chain Attack:node-ipc Package Compromised.Learn More
Socket
Book a DemoSign in
Socket

@mdit/plugin-embed

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mdit/plugin-embed - npm Package Compare versions

Comparing version
0.25.1
to
0.25.2
+18
-18
dist/index.d.ts

@@ -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 @@ }

{
"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"}