{"meta":{"name":"FindSoftware","page":"https://findsoftware.frbit.cloud/mdsvex/","markdown":"https://findsoftware.frbit.cloud/mdsvex.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":"mdsvex","name":"mdsvex","urls":{"home":"https://mdsvex.pngwn.at/","repository":"https://github.com/pngwn/MDsveX","docs":"https://mdsvex.pngwn.at/docs"},"category":["library"],"description":"Markdown preprocessor for Svelte that lets Svelte components and Markdown be written in the same document.","maintainer":"pngwn","maintainerType":"individual","firstRelease":2019,"language":"javascript","basedOn":["svelte"],"contentStore":null,"databases":null,"adminUi":null,"headlessApi":null,"templating":"svelte","i18n":null,"runsAs":null,"renderingModes":null,"installMethod":"npm","licenseModel":"open-source","license":"MIT","currentMajor":"0","latestReleaseDate":"2026-07-19T00:00:00.000Z","githubStargazers":3076,"contributors":48,"packagistDownloads":null,"npmWeeklyDownloads":312014,"dependentRepos":992,"dependentPackages":256,"checkedAt":"2026-11-16T00:00:00.000Z","addedAt":"2026-11-16T00:00:00.000Z","sources":[{"field":"urls","url":"https://mdsvex.pngwn.at/","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"urls","url":"https://api.github.com/repos/pngwn/MDsveX","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"urls","url":"https://mdsvex.pngwn.at/docs","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"maintainer","url":"https://github.com/pngwn/MDsveX/blob/main/LICENSE","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"firstRelease","url":"https://registry.npmjs.org/mdsvex","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"category","url":"https://github.com/pngwn/MDsveX/blob/main/README.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"basedOn","url":"https://mdsvex.pngwn.at/docs","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"language","url":"https://api.github.com/repos/pngwn/MDsveX","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"templating","url":"https://mdsvex.pngwn.at/docs","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"installMethod","url":"https://mdsvex.pngwn.at/docs","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"license","url":"https://github.com/pngwn/MDsveX/blob/main/LICENSE","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"licenseModel","url":"https://github.com/pngwn/MDsveX/blob/main/LICENSE","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"currentMajor","url":"https://api.github.com/repos/pngwn/MDsveX/releases","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"latestReleaseDate","url":"https://registry.npmjs.org/mdsvex","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"npmWeeklyDownloads","url":"https://api.npmjs.org/downloads/range/2026-11-01:2026-11-07/mdsvex","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"githubStargazers","url":"https://api.github.com/repos/pngwn/MDsveX","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"contributors","url":"https://api.github.com/repos/pngwn/MDsveX/contributors?per_page=1","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"dependentPackages","url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/mdsvex","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"dependentRepos","url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/mdsvex","checkedAt":"2026-11-16T00:00:00.000Z"}],"status":"active","ai":"authored"},"prose":"mdsvex brings Markdown into Svelte projects. It is added as a preprocessor to a Svelte build with rollup or webpack, which then passes `.svx` files through it, or its compile function turns a document into Svelte code without hooking into the Svelte compiler. The docs say it supports all Svelte syntax and almost all Markdown syntax, so a Markdown document can import and use Svelte components. Parsing runs on unified, remark and rehype, and remark and rehype plugins can be passed in as options.\n\nThe repository is a monorepo that also holds packages for working with Svelte syntax trees.\n\n## Worth knowing\n\nA code block indented by four spaces does nothing in mdsvex, since indentation is common in XML-based languages."}