@nlux/markdown
Advanced tools
Comparing version 2.7.3 to 2.7.5
@@ -12,7 +12,12 @@ type Highlighter = (input: string, language: string) => string; | ||
type SanitizerExtension = (html: string) => string; | ||
type CallbackArgType = object | string | number | boolean | symbol | null | undefined | void; | ||
type CallbackFunction = (...args: CallbackArgType[]) => CallbackArgType; | ||
/** | ||
* A type representing a function to use as HTML sanitizer. | ||
* This type can be passed to markdown parser, to be used to sanitize generated | ||
* HTML before appending it to the document. | ||
*/ | ||
type SanitizerExtension = (html: string) => string; | ||
type SnapshotParserOptions = { | ||
@@ -19,0 +24,0 @@ syntaxHighlighter?: HighlighterExtension; |
{ | ||
"name": "@nlux/markdown", | ||
"version": "2.7.3", | ||
"version": "2.7.5", | ||
"description": "A lightweight and fast markdown parser used by nlux that can be used to parse markdown text streams into DOM.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
128244
520