{"meta":{"name":"FindSoftware","page":"https://findsoftware.frbit.cloud/markdown-rs/","markdown":"https://findsoftware.frbit.cloud/markdown-rs.md","license":"https://creativecommons.org/licenses/by/4.0/","attribution":"FindSoftware, CC BY 4.0","note":"Attributes are recorded, never scored. An absent field means unknown, never zero and never bad."},"record":{"id":"markdown-rs","name":"markdown-rs","urls":{"repository":"https://github.com/wooorm/markdown-rs","docs":"https://docs.rs/markdown/latest/markdown/"},"category":["library"],"description":"CommonMark-compliant Markdown parser for Rust that builds a syntax tree and compiles Markdown to HTML, with GFM, MDX and math extensions.","maintainer":"Titus Wormer","maintainerType":"individual","firstRelease":2022,"hosting":["binary"],"language":"rust","runtime":["binary"],"contentStore":null,"databases":null,"adminUi":null,"headlessApi":null,"templating":null,"i18n":null,"runsAs":null,"renderingModes":null,"installMethod":"cargo add","licenseModel":"open-source","license":"MIT","currentMajor":"1","latestReleaseDate":"2025-04-23T00:00:00.000Z","githubStargazers":1595,"contributors":16,"packagistDownloads":null,"npmWeeklyDownloads":null,"dependentRepos":697,"dependentPackages":86,"social":{"forum":"https://github.com/wooorm/markdown-rs/discussions"},"checkedAt":"2026-11-16T00:00:00.000Z","addedAt":"2026-11-16T00:00:00.000Z","sources":[{"field":"urls","url":"https://github.com/wooorm/markdown-rs","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"urls","url":"https://github.com/wooorm/markdown-rs/blob/main/readme.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"maintainer","url":"https://github.com/wooorm/markdown-rs/blob/main/license","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"maintainerType","url":"https://github.com/wooorm/markdown-rs/blob/main/license","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"category","url":"https://github.com/wooorm/markdown-rs/blob/main/readme.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"language","url":"https://github.com/wooorm/markdown-rs","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"runtime","url":"https://github.com/wooorm/markdown-rs/blob/main/readme.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"installMethod","url":"https://github.com/wooorm/markdown-rs/blob/main/readme.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"license","url":"https://github.com/wooorm/markdown-rs/blob/main/license","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"licenseModel","url":"https://github.com/wooorm/markdown-rs","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"currentMajor","url":"https://github.com/wooorm/markdown-rs/releases/tag/1.0.0","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"latestReleaseDate","url":"https://github.com/wooorm/markdown-rs/releases/tag/1.0.0","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"firstRelease","url":"https://github.com/wooorm/markdown-rs/releases/tag/1.0.0-alpha.1","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"githubStargazers","url":"https://github.com/wooorm/markdown-rs","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"contributors","url":"https://api.github.com/repos/wooorm/markdown-rs/contributors?per_page=1","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"dependentPackages","url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/markdown","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"dependentRepos","url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/markdown","checkedAt":"2026-11-16T00:00:00.000Z"}],"status":"active","ai":"authored"},"prose":"markdown-rs parses Markdown into events and then compiles them to HTML or to a syntax tree in the mdast format, with a position for each node. A Rust program calls `to_html` for a string of Markdown, or `to_html_with_options` with an `Options` value to switch on GFM, MDX, frontmatter and math. Its parser is a state machine built on alloc without the standard library, and it accounts for every byte of the input.\n\nThe README names micromark, a JavaScript Markdown parser, as a sibling project, and mdxjs-rs wraps this crate to compile MDX to JavaScript.\n\n## Worth knowing\n\nHTML output is safe by default: dangerous HTML and protocols are encoded or dropped unless `allow_dangerous_html` or `allow_dangerous_protocol` is turned on. MDX syntax errors come back as an error value from `to_html_with_options`, and the README advises capping the size of untrusted input before parsing it."}