JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 5651250
  • Score
    100M100P100Q261647F
  • License MIT

micromark extension to support GFM strikethrough

Package Exports

  • micromark-extension-gfm-strikethrough

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (micromark-extension-gfm-strikethrough) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

micromark-extension-gfm-strikethrough

Build Coverage Downloads Size Sponsors Backers Chat

micromark extension to support GitHub flavored markdown strikethrough (like this).

This package provides the low-level modules for integrating with the micromark tokenizer and the micromark HTML compiler.

While GFM defines strikethrough, GitHub does not adhere to their specification. This syntax extension matches the GitHub parser, not the specification.

You probably shouldn’t use this package directly, but instead use mdast-util-gfm-strikethrough with mdast.

Install

npm:

npm install micromark-extension-gfm-strikethrough

API

syntax

html

Note: syntax is the default export of this module, html is available at micromark-extension-gfm-strikethrough/html.

Support strikethrough (like this) The exports are extensions, respectively for the micromark parser (to tokenize strikethrough, can be passed in extensions) and the default HTML compiler (to compile as a <del> element, can be passed in htmlExtensions).

Contribute

See contributing.md in micromark/.github for ways to get started. See support.md for ways to get help.

This project has a code of conduct. By interacting with this repository, organization, or community you agree to abide by its terms.

License

MIT © Titus Wormer