{"repo":"ant-design/x-markdown-mini","free":true,"listed":false,"github":"https://github.com/ant-design/x-markdown-mini","clone":"git clone https://github.com/ant-design/x-markdown-mini.git","description":"面向小程序的流式友好、轻量、跨端 Markdown 渲染器","language":"TypeScript","stars":23,"topics":["ant-design","antd","miniprogram","markdown"],"license":"MIT","category":"productivity","readme_excerpt":"Ant Design X Markdown Mini 面向小程序的流式友好、轻量、跨端 Markdown 渲染器 [![NPM version][npm-image]][npm-url] [![NPM downloads][download-image]][download-url] [![][bundlephobia-image]][bundlephobia-url] [![antd][antd-image]][antd-url] 更新日志 · [报告 Bug][github-issues-bug-report] · [提交需求][github-issues-feature-request] · English · 中文 [npm-image]: https://img.shields.io/npm/v/@ant-design/x-markdown-mini.svg?style=flat-square [npm-url]: https://www.npmjs.com/package/@ant-design/x-markdown-mini [download-image]: https://img.shields.io/npm/dm/@ant-design/x-markdown-mini.svg?style=flat-square [download-url]: https://npmjs.org/package/@ant-design/x-markdown-mini [bundlephobia-image]: https://badgen.net/bundlephobia/minzip/@ant-design/x-markdown-mini?style=flat-square [bundlephobia-url]: https://bundlephobia.com/package/@ant-design/x-markdown-mini [github-issues-bug-report]: https://github.com/ant-design/x/issues/new [github-issues-feature-request]: https://github.com/ant-design/x/issues/new [antd-image]: https://img.shields.io/badge/-Ant%20Design-blue?labelColor=black&logo=antdesign&style=flat-square [antd-url]: https://ant.design ✨ 特性 以 marked 作为底层 lexer，针对小程序运行时打包并 patch —— 直出原生节点，不走 ，无 HTML 往返。 - 🚀 为速度而生 —— 底层编译器直接 lex 成 token，无长期缓存、无阻塞。 - 🤖 流式友好，为 LLM Markdown 边出边渲而设计。 - ⚖️ 轻量 —— 内置 marked lexer，ESM 整库约 103 KB / gzip 约 25 KB，ES2018 下限。 - 📱 跨端 —— 当前支持微信与支付宝，统一组件路径，运行时自动识别。 - 🎨 原生直出 —— 渲染为 / / / ，天然支持逐节点动画。 - 🔧 丰富插件 —— 按需加载 LaTeX（KaTeX）与代码高亮（highlight.js），绝不进入主包。 - 😊 兼容 —— 基于 marked 的 CommonMa","default_branch":null,"files":null,"tree":[],"storefront":"/r/ant-design","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ant-design/x-markdown-mini/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."}