markdown-it-directive
Advanced tools
Comparing version 2.0.1 to 2.0.2
@@ -1,2 +0,2 @@ | ||
import DefaultMarkdownIt from 'markdown-it'; | ||
import DefaultMarkdownIt, {PluginSimple} from 'markdown-it'; | ||
import * as StateInline from 'markdown-it/lib/rules_inline/state_inline'; | ||
@@ -31,4 +31,4 @@ import * as StateBlock from 'markdown-it/lib/rules_block/state_block'; | ||
} | ||
type InlineHandler = (args: Partial<DirectiveInlineHandlerArgs>) => boolean | void; | ||
type BlockHandler = (args: Partial<DirectiveBlockHandlerArgs>) => boolean | void; | ||
type InlineHandler = (args: DirectiveInlineHandlerArgs) => boolean | void; | ||
type BlockHandler = (args: DirectiveBlockHandlerArgs) => boolean | void; | ||
@@ -55,4 +55,4 @@ export type DirectiveInlineHandler = InlineHandler; | ||
declare function load(md: MarkdownIt): void; | ||
declare function load(): PluginSimple; | ||
export default load; |
{ | ||
"name": "markdown-it-directive", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "Directive extension for markdown-it markdown parser.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
28121