{"repo":"rehypejs/rehype-github","free":true,"listed":false,"github":"https://github.com/rehypejs/rehype-github","clone":"git clone https://github.com/rehypejs/rehype-github.git","description":"rehype plugins that match how GitHub transforms markdown on their site","language":"HTML","stars":35,"topics":["github","hast","html","markdown","rehype","rehype-plugin"],"license":"MIT","category":"productivity","readme_excerpt":"rehype-github [![Build][build-badge]][build] [![Coverage][coverage-badge]][coverage] [![Sponsors][sponsors-badge]][collective] [![Backers][backers-badge]][collective] [![Chat][chat-badge]][chat] [rehype][] plugins that match how GitHub transforms markdown on their site. 👉 Note : work in progress. some things are not yet finished. Contents What is this? When should I use this? Install Packages Examples Example: comments Example: files Types Compatibility Security Related Contribute Notice License What is this? This project is a monorepo that contains many packages that can be used together or on their own, with defaults to match GitHub or with configuration to match your site, to process user content for safe use on the web. When should I use this? You can use these tools when you need to: 1. match GitHub in how it transforms markdown to HTML 2. build similar pipelines to bring user content to the masses Install Currently, install and use each package manually. Packages remark-github-break — turn normal line endings into hard breaks ( comments ) remark-github-yaml-metadata — show frontmatter as a table ( files ) rehype-github-alert — enhance alerts ( everywhere ) rehype-github-color — enhance code for colors ( comments ) rehype-github-dir — add dir=auto to elements ( everywhere ) rehype-github-emoji — enhance emoji and gemoji ( everywhere ) rehype-github-heading — enhance headings ( files ) rehype-github-highlight — perform syntax highlighting on code ( to do , meanwhile use ","default_branch":null,"files":null,"tree":[],"storefront":"/r/rehypejs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/rehypejs/rehype-github/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}