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. Learn more →
Top 12 JavaScript rehype-plugin Projects
-
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.
-
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.
I usually combine remark-parse, remark-rehype and rehype-react to transform markdown into react components. The configuration of the processor is like:
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.
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.
Project mention: Better code highlighting on the web: rehype-tree-sitter | news.ycombinator.com | 2023-07-24Shameless 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
JavaScript rehype-plugin related posts
- Building an Autolink Heading Component for React Navigation
- how to retain position of markdown element in remark.js
- HTML to React service
- MDX autolink headings
- My first post
-
A note from our sponsor - SurveyJS
surveyjs.io | 24 Apr 2024
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