rehype

由 @unifiedjs collective 插件驱动的 HTML 处理器。「HTML processor powered by plugins part of the @unifiedjs collective」

Github stars Tracking Chart

rehype

Build
Coverage
Downloads
Size
Sponsors
Backers
Chat

rehype is an HTML processor powered by plugins part of the unified
collective.

Intro

rehype is an ecosystem of plugins for processing HTML to do all kinds of
things: format it, minify it, or wrap it programmatically
into a document
.

This repository contains the following projects:

  • rehype-parse — Parse HTML documents to syntax trees
  • rehype-stringify — Serialize syntax trees to HTML documents
  • rehype — Programmatic interface with both rehype-parse and rehype-stringify
  • rehype-cli — Command-line interface wrapping rehype

Sponsors

Support this effort and give back by sponsoring on OpenCollective!

Security

As rehype works on HTML, and improper use of HTML can open you up to a
cross-site scripting (XSS) attack, use of rehype can also be unsafe.
Use rehype-sanitize to make the tree safe.

Contribute

See contributing.md in rehypejs/.github for ways
to get started.
See support.md for ways to get help.
Ideas for new plugins and tools can be posted in rehypejs/ideas.

A curated list of awesome rehype resources can be found in awesome
rehype
.

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

Main metrics

Overview
Name With Ownerrehypejs/rehype
Primary LanguageJavaScript
Program languageJavaScript (Language Count: 1)
Platform
License:MIT License
所有者活动
Created At2016-02-25 09:11:41
Pushed At2025-02-28 09:58:20
Last Commit At
Release Count56
Last Release Name13.0.2 (Posted on )
First Release Name1.0.0 (Posted on )
用户参与
Stargazers Count2k
Watchers Count11
Fork Count93
Commits Count350
Has Issues Enabled
Issues Count32
Issue Open Count1
Pull Requests Count62
Pull Requests Open Count0
Pull Requests Close Count13
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private