{"repo":"aliezzahn/rsbuild-plugin-markdown-loader","free":true,"listed":false,"github":"https://github.com/aliezzahn/rsbuild-plugin-markdown-loader","clone":"git clone https://github.com/aliezzahn/rsbuild-plugin-markdown-loader.git","description":"A plugin for rsbuild.dev that enables importing and rendering Markdown files as React components or pure HTML.","language":"TypeScript","stars":27,"topics":["html","lib","loader","markdown","neon","parser","plugin","react","rsbuild","rspack"],"license":"MIT","category":"productivity","readme_excerpt":"rsbuild-plugin-markdown-loader A custom Markdown loader plugin for Rsbuild that supports transforming .md files using a high-performance Neon Rust parser. Supports GitHub-flavored Markdown (GFM). Features - Parses .md files via a fast Rust backend using Neon - Optional GitHub-flavored Markdown support - Easily pluggable into any Rsbuild project --- Installation Note: You must also install the rs-markdown-parser native module, which is a Neon-powered Markdown parser. --- Usage Add the plugin to your rsbuild.config.ts : --- Use Case When this plugin is configured, you can directly import .md files into your frontend code and render them as HTML. Example: Markdown as Component Content Example: test.md Example: index.css When you build or serve this project using rsbuild , the plugin will automatically transform test.md into a JavaScript string containing the rendered HTML, which is then injected into the page. Options gfm Enable GitHub-flavored Markdown extensions. - Type : boolean - Default : false Example: --- How It Works This plugin hooks into Rsbuild's Rspack config to apply a custom loader ( markdown-loader.cjs ) for .md files. The loader internally calls a Neon-powered Rust function for fast parsing. --- Loader Implementation --- License MIT","default_branch":null,"files":null,"tree":[],"storefront":"/r/aliezzahn","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/aliezzahn/rsbuild-plugin-markdown-loader/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."}