@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.
Files changed (2) hide show
  1. package/README.md +4 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,20 +1,20 @@
1
- # zjlab-frontier-markdown
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-markdown
8
+ npm install @zjlab-frontier/markdown
9
9
  # 或
10
- yarn add zjlab-frontier-markdown
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-markdown';
17
+ import { ZJMarkdown } from '@zjlab-frontier/markdown';
18
18
 
19
19
  function App() {
20
20
  const markdownContent = `
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zjlab-frontier/markdown",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "Markdown component with support for Mermaid, KaTeX, and code highlighting",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",