Socket
Socket
Sign inDemoInstall

micromark-extension-gfm-tagfilter

Package Overview
Dependencies
0
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    micromark-extension-gfm-tagfilter

micromark extension to support GFM tagfilter


Version published
Maintainers
1
Install size
7.47 kB
Created

Readme

Source

micromark-extension-gfm-tagfilter

Build Coverage Downloads Size Sponsors Backers Chat

micromark extension to support GitHub flavored markdown tag filter. This syntax extension matches the GFM spec and github.com. The tag filter is a rather naïve attempt at XSS protection. It’s much better to use a proper HTML sanitizing algorithm.

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

Install

npm:

npm install micromark-extension-gfm-tagfilter

API

html

Note: html is the default export.

Support a tag filter (protection against script, plaintext, etc). The export is an extension for the default HTML compiler (to escape certain tag names; 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

Keywords

FAQs

Last updated on 17 Sep 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc