#资源推荐 #前端 #react #markdown
今天在搭建自己的博客,关于markdown渲染和解析元数据找了这两个库:
1. markdown-to-jsx 最轻量级、可定制的 React markdown 组件。
2. gray-matter 从字符串或文件中解析 front-matter。快速、可靠且易于使用。默认情况下解析 YAML front-matter,但也支持 YAML、JSON、TOML 或 Coffee Front-Matter GitHub - probablyup/markdown-to-jsx: 🏭 The most lightweight, customizable React markdown component.
 
 
Back to Top