micromark-extension-gfm
Advanced tools
Comparing version 2.0.2 to 2.0.3
/** | ||
* Add support for parsing GFM in markdown. | ||
* Create an extension for `micromark` to enable GFM syntax. | ||
* | ||
* Function that can be called to get a syntax extension for micromark (passed | ||
* in `extensions`). | ||
* @param {Options | null | undefined} [options] | ||
* Configuration (optional). | ||
* | ||
* @param {Options} [options] | ||
* Configuration (optional). | ||
* Passed to `micromark-extens-gfm-strikethrough`. | ||
* @returns {Extension} | ||
* Syntax extension for micromark (passed in `extensions`). | ||
* Extension for `micromark` that can be passed in `extensions` to enable GFM | ||
* syntax. | ||
*/ | ||
export function gfm( | ||
options?: | ||
| import('micromark-extension-gfm-strikethrough/lib/syntax').Options | ||
| undefined | ||
): Extension | ||
export function gfm(options?: Options | null | undefined): Extension | ||
/** | ||
* Add support for turning GFM in markdown to HTML. | ||
* Create an extension for `micromark` to support GFM when serializing to HTML. | ||
* | ||
* Function that can be called to get an HTML extension for micromark (passed | ||
* in `htmlExtensions`). | ||
* @param {HtmlOptions | null | undefined} [options] | ||
* Configuration. | ||
* | ||
* @param {HtmlOptions} [options] | ||
* Configuration (optional). | ||
* Passed to `micromark-extens-gfm-footnote`. | ||
* @returns {HtmlExtension} | ||
* HTML extension for micromark (passed in `htmlExtensions`). | ||
* Extension for `micromark` that can be passed in `htmlExtensions` to | ||
* support GFM when serializing to HTML. | ||
*/ | ||
export function gfmHtml( | ||
options?: | ||
| import('micromark-extension-gfm-footnote/lib/html').Options | ||
| undefined | ||
): HtmlExtension | ||
export function gfmHtml(options?: HtmlOptions | null | undefined): HtmlExtension | ||
export type HtmlOptions = import('micromark-extension-gfm-footnote').HtmlOptions | ||
export type Options = import('micromark-extension-gfm-strikethrough').Options | ||
export type Extension = import('micromark-util-types').Extension | ||
export type HtmlExtension = import('micromark-util-types').HtmlExtension | ||
export type Options = import('micromark-extension-gfm-strikethrough').Options | ||
export type HtmlOptions = import('micromark-extension-gfm-footnote').HtmlOptions |
{ | ||
"name": "micromark-extension-gfm", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "micromark extension to support GFM (GitHub Flavored Markdown)", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
20137
94