diff --git a/README.md b/README.md
index d7a6abe..6c10725 100644
--- a/README.md
+++ b/README.md
@@ -1,11 +1,15 @@
# LiteOfd 类方法说明文档
-版本:0.1.1
+版本:0.2.5
## 1. 简介
LiteOfd 是一个用于处理 OFD(Open Fixed-layout Document)文件的轻量级库。它提供了解析、渲染和操作 OFD 文档的功能,使开发者能够在 Web 应用中轻松展示和操作 OFD 文档。
+## 在线演示
+
+🔗 **Demo**: [https://signitdoc.github.io/liteofd/](https://signitdoc.github.io/liteofd/)
+
## 1.1示例图片
以下是一个OFD文档渲染的示例图片:
@@ -23,9 +27,14 @@ LiteOfd 是一个用于处理 OFD(Open Fixed-layout Document)文件的轻量
npm install liteofd
```
+`注意:目前打包遇到问题,发布到npm之后字体文件因为无法正确加载导致渲染字体可能出现问题,所以建议源码引入。另外如果有人愿意贡献打包脚本,可以联系我。QQ:897761547,谢谢!或者帮忙修改打包脚本,提PR。`
+
步骤是将OFD文档解析之后调用渲染方法,然后将渲染结果添加到显示组件中
```Typescript
+import { LiteOfd } from 'liteofd'
+
function parseOfdFile(file: File) {
+ const liteOfd = new LiteOfd()
let appContent = getElementById("ofd-content")
appContent.innerHTML = ''
liteOfd.parse(file).then((data: OfdDocument) => {
diff --git a/docs/assets/ArialMT-DyOflV0j.ttf b/docs/assets/ArialMT-DyOflV0j.ttf
deleted file mode 100644
index c19112c..0000000
Binary files a/docs/assets/ArialMT-DyOflV0j.ttf and /dev/null differ
diff --git a/docs/assets/FangSong_GB2312-CpBdDyuD.otf b/docs/assets/FangSong_GB2312-CpBdDyuD.otf
deleted file mode 100644
index 5816ece..0000000
Binary files a/docs/assets/FangSong_GB2312-CpBdDyuD.otf and /dev/null differ
diff --git a/docs/assets/Nsimsun-cXRvCkmd.ttf b/docs/assets/Nsimsun-cXRvCkmd.ttf
deleted file mode 100644
index 4831001..0000000
Binary files a/docs/assets/Nsimsun-cXRvCkmd.ttf and /dev/null differ
diff --git a/docs/assets/SIMFANG-CwNyEwdc.TTF b/docs/assets/SIMFANG-CwNyEwdc.TTF
deleted file mode 100644
index 68334e2..0000000
Binary files a/docs/assets/SIMFANG-CwNyEwdc.TTF and /dev/null differ
diff --git a/docs/assets/Times-Bold-SsrNQBCi.otf b/docs/assets/Times-Bold-SsrNQBCi.otf
deleted file mode 100644
index 2b9d1ca..0000000
Binary files a/docs/assets/Times-Bold-SsrNQBCi.otf and /dev/null differ
diff --git a/src/main.ts b/example/main.ts
similarity index 96%
rename from src/main.ts
rename to example/main.ts
index 7780534..b040032 100644
--- a/src/main.ts
+++ b/example/main.ts
@@ -1,10 +1,10 @@
import './style.css'
-import LiteOfd from "./liteofd/liteOfd"
-import { XmlData } from './liteofd/ofdData';
-import * as parser from './liteofd/parser'
-import { AttributeKey, OFD_KEY } from './liteofd/attrType';
-import {OfdDocument} from "./liteofd/ofdDocument.ts";
-import { OfdTools } from './liteofd/ofdtools';
+import LiteOfd from "../src/liteofd/liteOfd.ts"
+import { XmlData } from '../src/liteofd/ofdData.ts';
+import * as parser from '../src/liteofd/parser.ts'
+import { AttributeKey, OFD_KEY } from '../src/liteofd/attrType.ts';
+import {OfdDocument} from "../src/liteofd/ofdDocument.ts";
+import { OfdTools } from '../src/liteofd/ofdtools.ts';
import { ChildProcess } from 'child_process';
const appContent = document.getElementById('content') as HTMLDivElement
diff --git a/src/style.css b/example/style.css
similarity index 100%
rename from src/style.css
rename to example/style.css
diff --git a/src/tools.ts b/example/tools.ts
similarity index 96%
rename from src/tools.ts
rename to example/tools.ts
index 06de384..9ce3513 100644
--- a/src/tools.ts
+++ b/example/tools.ts
@@ -1,8 +1,8 @@
-import { AttributeKey, OFD_KEY } from './liteofd/attrType';
-import LiteOfd from './liteofd/liteOfd';
-import { XmlData } from './liteofd/ofdData';
-import { OfdDocument } from './liteofd/ofdDocument';
-import { findAttributeValueByKey, findValueByTagName } from './liteofd/parser';
+import { AttributeKey, OFD_KEY } from '../src/liteofd/attrType';
+import LiteOfd from '../src/liteofd/liteOfd';
+import { XmlData } from '../src/liteofd/ofdData';
+import { OfdDocument } from '../src/liteofd/ofdDocument';
+import { findAttributeValueByKey, findValueByTagName } from '../src/liteofd/parser';
let selectedFile: File | null = null;
diff --git a/index.html b/index.html
index 07bbe5f..6ff0781 100644
--- a/index.html
+++ b/index.html
@@ -8,23 +8,23 @@
@@ -89,6 +89,6 @@