rehype is an HTML processor powered by plugins part of the unified collective.
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.
- Visit
unifiedjs.com
and try its guides for an overview - Read unified’s readme for a technical intro
- Browse awesome rehype to find out more about the ecosystem
- Follow us on Medium and Twitter to see what we’re up to
- Check out Contribute below to find out how to help out
This repository contains the following projects:
rehype-parse
— Parse HTML documents to syntax treesrehype-stringify
— Serialize syntax trees to HTML documentsrehype
— Programmatic interface with bothrehype-parse
andrehype-stringify
rehype-cli
— Command-line interface wrappingrehype
🥇 ZEIT |
🥇 Gatsby |
🥇 Netlify |
Holloway |
You? |
Read more about the unified collective on Medium »
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.
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.