{"repo":"wooorm/mdxjs-rs","free":true,"listed":false,"github":"https://github.com/wooorm/mdxjs-rs","clone":"git clone https://github.com/wooorm/mdxjs-rs.git","description":"Compile MDX to JavaScript in Rust","language":"Rust","stars":538,"topics":["commonmark","gfm","javascript","markdown","mdx","rust"],"license":"MIT","category":"productivity","readme_excerpt":"mdxjs-rs [![Build][build-badge]][build] [![Coverage][coverage-badge]][coverage] [![GitHub][repo-badge]][repo] [![docs.rs][docs-badge]][docs] [![crates.io][crate-badge]][crate] Compile MDX to JavaScript in Rust. When should I use this? You can use this crate when you’re dealing with the Rust language and want to compile MDX to JavaScript. To parse the MDX format to a syntax tree, use [ markdown-rs ][markdown-rs] instead. This project does not yet support plugins. To benefit from the unified (remark and rehype) ecosystem, use [ @mdx-js/mdx ][mdx-js]. What is this? This Rust crate works exactly like the npm package [ @mdx-js/mdx ][mdx-js]. It uses the Rust crates [ markdown-rs ][markdown-rs] and [SWC][] to deal with the markdown and JavaScript inside MDX. Questions to learn MDX, see [ mdxjs.com ][mdx-site] for the API, see the [crate docs][docs] for questions, see [Discussions][chat] to help, see [contribute][] or [sponsor][] below Contents Install Use API Project Test Version Security Contribute Sponsor Thanks License Install With [Rust][] (rust edition 2018+, ±version 1.56+), install with cargo : Use Yields (prettified): API mdxjs-rs exposes compile , JsxRuntime , Options , and a few other structs and enums. See the [crate docs][docs] for more info. Project Test mdxjs-rs is tested with a lot of tests. These tests reach all branches in the code, which means that this project has 100% code coverage. The following bash scripts are useful when working on this project: run examples","default_branch":null,"files":null,"tree":[],"storefront":"/r/wooorm","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/wooorm/mdxjs-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."}