remark-html
Advanced tools
Comparing version 15.0.1 to 15.0.2
@@ -1,7 +0,10 @@ | ||
/** | ||
* Plugin to serialize markdown as HTML. | ||
* | ||
* @type {import('unified').Plugin<[Options?]|void[], Root, string>} | ||
*/ | ||
export default function remarkHtml(settings?: void | Options | undefined): void | ||
export default function remarkHtml( | ||
this: import('unified').Processor< | ||
void, | ||
import('mdast').Root, | ||
import('mdast').Root, | ||
string | ||
>, | ||
...settings: [(Options | undefined)?] | [] | ||
): void | ||
export type Root = import('mdast').Root | ||
@@ -24,4 +27,4 @@ export type Schema = import('hast-util-sanitize').Schema | ||
*/ | ||
handlers?: import('mdast-util-to-hast/lib').Handlers | undefined | ||
handlers?: import('mdast-util-to-hast').Handlers | undefined | ||
} | ||
export type Options = import('hast-util-to-html').Options & ExtraOptionsFields |
@@ -22,3 +22,4 @@ /** | ||
* | ||
* @type {import('unified').Plugin<[Options?]|void[], Root, string>} | ||
* @this {import('unified').Processor} | ||
* @type {import('unified').Plugin<[Options?] | [], Root, string>} | ||
*/ | ||
@@ -25,0 +26,0 @@ export default function remarkHtml(settings = {}) { |
{ | ||
"name": "remark-html", | ||
"version": "15.0.1", | ||
"version": "15.0.2", | ||
"description": "remark plugin to compile Markdown to HTML", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -81,13 +81,13 @@ # remark-html | ||
In Deno with [Skypack][]: | ||
In Deno with [`esm.sh`][esmsh]: | ||
```js | ||
import remarkHtml from 'https://cdn.skypack.dev/remark-html@15?dts' | ||
import remarkHtml from 'https://esm.sh/remark-html@15' | ||
``` | ||
In browsers with [Skypack][]: | ||
In browsers with [`esm.sh`][esmsh]: | ||
```html | ||
<script type="module"> | ||
import remarkHtml from 'https://cdn.skypack.dev/remark-html@15?min' | ||
import remarkHtml from 'https://esm.sh/remark-html@15?bundle' | ||
</script> | ||
@@ -247,3 +247,3 @@ ``` | ||
[skypack]: https://www.skypack.dev | ||
[esmsh]: https://esm.sh | ||
@@ -250,0 +250,0 @@ [health]: https://github.com/remarkjs/.github |
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
14584
91