Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

micromark-extension-gfm

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

micromark-extension-gfm - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

38

index.d.ts
/**
* 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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc