JavaScript rehype-plugin

Open-source JavaScript projects categorized as rehype-plugin

Top 12 JavaScript rehype-plugin Projects

  • rehype-react

    plugin to transform to preact, react, vue, etc

  • Project mention: how to retain position of markdown element in remark.js | dev.to | 2023-09-04

    I usually combine remark-parse, remark-rehype and rehype-react to transform markdown into react components. The configuration of the processor is like:

  • rehype-highlight

    plugin to highlight code blocks

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • Project mention: Building an Autolink Heading Component for React Navigation | dev.to | 2023-11-14

    This is how I created the first version of the Autolink Heading component to replicate the behavior of rehype-autolink-headings for React headings. It's a simple design that get's the job done. However, I'm sure it has a lot of room for improvement.

  • rehype-slug

    plugin to add `id` attributes to headings

  • Project mention: Building an Autolink Heading Component for React Navigation | dev.to | 2023-11-14

    I'm using the algorithm from github-slugger to create the header link and ID. It's the same one used by GitHub for their section headings and also by rehype-slug, the project I used as inspiration for this one.

  • rehype-sanitize

    plugin to sanitize HTML

  • rehype-raw

    plugin to parse the tree again

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • rehype-toc

    A rehype plugin that adds a table of contents (TOC) to the page

  • rehype-document

    plugin to wrap a fragment in a document

  • rehype-format

    plugin to format HTML

  • rehype-starry-night

    Rehype plugin to highlight code with Starry Night

  • Project mention: Better code highlighting on the web: rehype-tree-sitter | news.ycombinator.com | 2023-07-24

    Shameless plug for the Rehype plugin [1] I wrote based on Starry Night [2]. If you're interested in syntax highlighting like GitHub or customize it with CSS properties (for example, to support multiple themes), this is one solution.

    [1] https://github.com/Microflash/rehype-starry-night

  • rehype-truncate

    Truncate HTML while preserving its structure

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

JavaScript rehype-plugin related posts

Index

What are some of the best open-source rehype-plugin projects in JavaScript? This list will help you:

Project Stars
1 rehype-react 375
2 rehype-highlight 232
3 rehype-autolink-headings 186
4 rehype-slug 178
5 rehype-sanitize 128
6 rehype-raw 117
7 rehype-external-links 73
8 rehype-toc 62
9 rehype-document 31
10 rehype-format 29
11 rehype-starry-night 11
12 rehype-truncate 4

Sponsored
The modern identity platform for B2B SaaS
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
workos.com