@zjlab-frontier/markdown 1.0.4 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
# zjlab-frontier
|
|
1
|
+
# @zjlab-frontier/markdown
|
|
2
2
|
|
|
3
3
|
一个功能强大的 React Markdown 组件,支持 Mermaid 图表、KaTeX 数学公式、代码高亮等高级特性。
|
|
4
4
|
|
|
5
5
|
## 安装
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
npm install zjlab-frontier
|
|
8
|
+
npm install @zjlab-frontier/markdown
|
|
9
9
|
# 或
|
|
10
|
-
yarn add zjlab-frontier
|
|
10
|
+
yarn add @zjlab-frontier/markdown
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
## 使用方法
|
|
14
14
|
|
|
15
15
|
```jsx
|
|
16
16
|
import React from 'react';
|
|
17
|
-
import { ZJMarkdown } from 'zjlab-frontier
|
|
17
|
+
import { ZJMarkdown } from '@zjlab-frontier/markdown';
|
|
18
18
|
|
|
19
19
|
function App() {
|
|
20
20
|
const markdownContent = `
|