├── .github └── workflows │ ├── bb.yml │ └── main.yml ├── .gitignore ├── .npmrc ├── package.json └── readme.md /.github/workflows/bb.yml: -------------------------------------------------------------------------------- 1 | jobs: 2 | main: 3 | runs-on: ubuntu-latest 4 | steps: 5 | - uses: unifiedjs/beep-boop-beta@main 6 | with: 7 | repo-token: ${{secrets.GITHUB_TOKEN}} 8 | name: bb 9 | on: 10 | issues: 11 | types: [closed, edited, labeled, opened, reopened, unlabeled] 12 | pull_request_target: 13 | types: [closed, edited, labeled, opened, reopened, unlabeled] 14 | -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- 1 | jobs: 2 | main: 3 | runs-on: ubuntu-latest 4 | steps: 5 | - uses: actions/checkout@v4 6 | - uses: actions/setup-node@v4 7 | with: 8 | node-version: node 9 | - run: npm install 10 | - run: npm test 11 | name: main 12 | on: 13 | - pull_request 14 | - push 15 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | *.log 3 | node_modules/ 4 | -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | ignore-scripts=true 2 | package-lock=false 3 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "author": "Titus Wormer (wooorm.com)", 3 | "bugs": "https://github.com/rehypejs/awesome-rehype/issues", 4 | "contributors": [ 5 | "Titus Wormer (wooorm.com)" 6 | ], 7 | "description": "Curated list of awesome rehype resources", 8 | "devDependencies": { 9 | "remark-cli": "^12.0.0", 10 | "remark-preset-wooorm": "^10.0.0" 11 | }, 12 | "keywords": [], 13 | "license": "CC-BY-4.0", 14 | "name": "awesome-rehype", 15 | "private": true, 16 | "remarkConfig": { 17 | "plugins": [ 18 | "remark-preset-wooorm" 19 | ] 20 | }, 21 | "repository": "rehypejs/awesome-rehype", 22 | "scripts": { 23 | "format": "remark --output --quiet -- .", 24 | "test": "npm run format" 25 | }, 26 | "version": "0.0.0" 27 | } 28 | -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # awesome rehype [![awesome][awesome-badge]][awesome] 4 | 5 | [](https://github.com/rehypejs/rehype) 6 | 7 | > A curated list of awesome **[rehype][]** resources. 8 | 9 | **rehype** is an HTML processor powered by plugins part of the [unified][] 10 | collective. 11 | 12 | ## Contents 13 | 14 | * [Official](#official) 15 | * [Plugins](#plugins) 16 | * [Built on rehype](#built-on-rehype) 17 | * [Built with rehype](#built-with-rehype) 18 | * [Related lists](#related-lists) 19 | * [License](#license) 20 | 21 | ## Official 22 | 23 | * [rehype](https://github.com/rehypejs/rehype) - Repository. 24 | * [rehype-parse](https://github.com/rehypejs/rehype/tree/HEAD/packages/rehype-parse) - HTML parser. 25 | * [rehype-stringify](https://github.com/rehypejs/rehype/tree/HEAD/packages/rehype-stringify) - HTML generator. 26 | * [rehype-cli](https://github.com/rehypejs/rehype/tree/HEAD/packages/rehype-cli) - Command line interface. 27 | * [hast](https://github.com/syntax-tree/hast) - Abstract syntax tree specification. 28 | * [unified](https://github.com/unifiedjs/unified) - Ecosystem. 29 | * [unifiedjs.com](https://unifiedjs.com) - Ecosystem website. 30 | 31 | ## Plugins 32 | 33 | * [rehype-remark](https://github.com/rehypejs/rehype-remark) - Integrate with the [remark][] ecosystem. 34 | * [rehype-retext](https://github.com/rehypejs/rehype-retext) - Integrate with the [retext][] ecosystem. 35 | * [rehype-react](https://github.com/rehypejs/rehype-react) - Generate React. 36 | * [rehype-dom](https://github.com/rehypejs/rehype-dom) - Use the DOM to parse / stringify in the browser. 37 | * [rehype-webparser](https://github.com/Prettyhtml/prettyhtml/tree/HEAD/packages/rehype-webparser) - XML-like HTML parser. 38 | * [rehype-minify](https://github.com/rehypejs/rehype-minify) - Minify HTML. 39 | * [rehype-format](https://github.com/rehypejs/rehype-format) - Format HTML. 40 | * [rehype-document](https://github.com/rehypejs/rehype-document) - Wrap a fragment in a document. 41 | * [rehype-highlight](https://github.com/rehypejs/rehype-highlight) - Highlight code blocks with [lowlight](https://github.com/wooorm/lowlight) (Highlight.js). 42 | * [rehype-prism](https://github.com/mapbox/rehype-prism) - Highlight code blocks with [refractor](https://github.com/wooorm/refractor) (Prism). 43 | * [rehype-inline-svg](https://github.com/JS-DevTools/rehype-inline-svg) - Inline and optimize SVGs. 44 | * [rehype-toc](https://github.com/JS-DevTools/rehype-toc) - Add a table of contents (TOC). 45 | * [rehype-url-inspector](https://github.com/JS-DevTools/rehype-url-inspector) - Inspect, validate, or rewrite URLs anywhere in the document 46 | * [rehype-truncate](https://github.com/luk707/rehype-truncate) - Truncate HTML while preserving its structure. 47 | 48 | [Find more plugins »](https://github.com/rehypejs/rehype/blob/HEAD/doc/plugins.md#list-of-plugins) 49 | 50 | ## Built on rehype 51 | 52 | * [MDX](https://github.com/mdx-js/mdx) - Markdown combined with JSX. 53 | * [mdx-deck](https://github.com/jxnblk/mdx-deck) - MDX-based presentation decks. 54 | * [Gatsby](https://github.com/gatsbyjs/gatsby) - Blazing fast, modern apps and websites with React. 55 | * [Decap CMS](https://github.com/decaporg/decap-cms) - CMS for static site generators (formerly netlify-cms). 56 | * [nteract](https://github.com/nteract/nteract) - Interactive computing suite for you. 57 | * [documentation.js](https://github.com/documentationjs/documentation) - Documentation system for modern JavaScript. 58 | * [svgr](https://github.com/gregberge/svgr) - Transform SVGs into React components. 59 | * [nextein](https://github.com/elmasse/nextein) - Static site generator with Markdown + React for Next.js. 60 | * [prettyhtml](https://github.com/Prettyhtml/prettyhtml) - Formatter for your Angular, Vue, Svelte or HTML templates. 61 | * [bytemd](https://github.com/pd4d10/bytemd) - Hackable markdown editor component. 62 | * [markdown-to-html-cli](https://github.com/jaywcjlove/markdown-to-html-cli) - Command line tool that converts markdown to HTML. 63 | 64 | ## Built with rehype 65 | 66 | * [freeCodeCamp](https://github.com/freeCodeCamp/freeCodeCamp) - Learn to code for free. 67 | * [Node.js](https://github.com/nodejs/node) - Node.js JavaScript runtime. 68 | * [angular](https://github.com/angular/angular) - Development platform for mobile and desktop apps. 69 | * [rxjs](https://github.com/ReactiveX/rxjs) - Reactive Extensions For JavaScript. 70 | * [stdlib](https://github.com/stdlib-js/stdlib) - Standard library emphasizing numerical and scientific applications. 71 | 72 | ## Related lists 73 | 74 | * [awesome unified](https://github.com/unifiedjs/awesome-unified) 75 | * [awesome remark](https://github.com/remarkjs/awesome-remark) 76 | * [awesome retext](https://github.com/retextjs/awesome-retext) 77 | * [awesome mdx](https://github.com/mdx-js/awesome) 78 | * [awesome syntax-tree](https://github.com/syntax-tree/awesome-syntax-tree) 79 | 80 | ## License 81 | 82 | [![CC-BY][license-badge]][license] © [Titus Wormer][author] 83 | 84 | 85 | 86 | [author]: https://wooorm.com 87 | 88 | [awesome-badge]: https://awesome.re/badge.svg 89 | 90 | [awesome]: https://awesome.re 91 | 92 | [license-badge]: https://mirrors.creativecommons.org/presskit/buttons/80x15/svg/by.svg 93 | 94 | [license]: https://creativecommons.org/licenses/by/4.0/ 95 | 96 | [rehype]: https://github.com/rehypejs/rehype 97 | 98 | [remark]: https://github.com/remarkjs/remark 99 | 100 | [retext]: https://github.com/retextjs/retext 101 | 102 | [unified]: https://github.com/unifiedjs/unified 103 | --------------------------------------------------------------------------------