rehype-remove-comments
rehype plugin to remove comments (except conditional comments)
Last updated 5 months ago by wooorm .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install rehype-remove-comments 
SYNC missed versions from official npm registry.

rehype-remove-comments

Build Coverage Downloads Size Sponsors Backers Chat

Remove comments (except conditional comments).

When configured with force: true (default: false), conditional comments are also removed.

Install

npm:

npm install rehype-remove-comments

Example

In
<!--Hello-->
<!--[if IE 6]>OK<![endif]-->
Out
<!--[if IE 6]>OK<![endif]-->

Contribute

See contributing.md in rehypejs/.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

Current Tags

  • 4.0.2                                ...           latest (5 months ago)

8 Versions

  • 4.0.2                                ...           5 months ago
  • 4.0.1                                ...           8 months ago
  • 4.0.0                                ...           8 months ago
  • 3.0.0                                ...           a year ago
  • 2.0.2                                ...           a year ago
  • 2.0.1                                ...           2 years ago
  • 2.0.0                                ...           4 years ago
  • 1.0.0                                ...           4 years ago
Maintainers (2)
Downloads
Today 136
This Week 331
This Month 3,097
Last Day 195
Last Week 991
Last Month 2,776
Dependencies (2)
Dev Dependencies (0)
None

Copyright 2014 - 2016 © taobao.org |