{"repo":"web-infra-dev/mdx-rs","free":true,"listed":false,"github":"https://github.com/web-infra-dev/mdx-rs","clone":"git clone https://github.com/web-infra-dev/mdx-rs.git","description":"Rust MDX compilation binding for Rspress","language":"Rust","stars":142,"topics":["hacktoberfest","markdown","mdx"],"license":"MIT","category":"docs-static-sites","readme_excerpt":"@rspress/mdx-rs This is a Node.js binding for MDX compilation of Rspress which is a modern documentation tool based on Rspack. It can be 10x+ faster than compiler in pure JavaScript version.The benchmark result of @rspress/mdx-rs vs @mdx-js/mdx is as follows: Tool Time Spend --------------- ---------- @rspress/mdx-rs 977 ms @mdx-js/mdx 21300 ms We forked mdxjs-rs, the Rust version of mdx compiler and customize it for Rspress, adding the following features: Crate Description ----------------------------------------------------------- ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- mdx rs binding 🔥 Add Node.js binding so that we can use it in Node.js. mdx plugin container Implement container grammar like :::tip in @rspress/plugin-container-syntax. mdx plugin toc Generate table of contents. mdx plugin frontmatter Parse frontmatter and export it in the esm module. mdx plugin external link Add target=\" blank\" and rel=\"noopener noreferrer\" to external link. mdx plugin header anchor Add anchor for every header. mdx plugin normalize link Normalize link to complete url base on current filepath. mdx plugin html Serialize hast to html string slugger Generate slug for header, port from github-slugger. Install Usage Of course, you can also the compileSync function to compile mdx synchronously, which is not recommended because it will block the event lo","default_branch":null,"files":null,"tree":[],"storefront":"/r/web-infra-dev","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/web-infra-dev/mdx-rs/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."}