Skip to content

Commit d7e40e7

Browse files
committed
update
1 parent 3698948 commit d7e40e7

2 files changed

Lines changed: 18 additions & 8 deletions

File tree

README.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
<p align="center">
2-
<a href="http://zumerlab.github.io/snapdom">
2+
<a href="https://snapdom.dev">
33
<img src="https://raw.githubusercontent.com/zumerlab/snapdom/main/docs/assets/newhero.png" width="80%">
44
</a>
55
</p>
66

77
<p align="center">
8-
<a href="https://www.npmjs.com/package/@zumer/snapdom">
8+
<a href="https://snapdom.dev">
9+
<img alt="Website" src="https://img.shields.io/badge/Website-snapdom.dev-2ea44f?style=flat-square">
10+
</a>
11+
<a href="https://www.npmjs.com/package/@zumer/snapdom">
912
<img alt="NPM version" src="https://img.shields.io/npm/v/@zumer/snapdom?style=flat-square&label=Version">
1013
</a>
1114
<a href="https://www.npmjs.com/package/@zumer/snapdom">
@@ -36,6 +39,8 @@
3639
**SnapDOM** is a next-generation **DOM Capture Engine** — the fast, modern alternative to **html2canvas**, **dom-to-image**, and **html-to-image**.
3740
It converts any DOM subtree into a self-contained representation that can be exported to SVG, PNG, JPG, WebP, Canvas, Blob, or **any custom format** through plugins — ultra-fast, modular, extensible, and dependency-free.
3841

42+
> 📖 **[Documentation, guides & live demos → snapdom.dev](https://snapdom.dev)**
43+
3944
* Full DOM capture
4045
* Embedded styles, pseudo-elements, and fonts
4146
* Export to SVG, PNG, JPG, WebP, `canvas`, or Blob
@@ -45,7 +50,7 @@ It converts any DOM subtree into a self-contained representation that can be exp
4550
* Support CSS counter() and CSS counters()
4651
* Support `...` line-clamp
4752

48-
## Demo
53+
## Website & Live Demos
4954

5055
[https://snapdom.dev](https://snapdom.dev)
5156

@@ -605,7 +610,7 @@ import { timestampOverlay } from '@zumer/snapdom-plugins/timestamp-overlay';
605610
606611
### Community Plugins
607612
608-
Community plugins are listed on the [Plugins page](https://zumerlab.github.io/snapdom/plugins.html). To submit your plugin, open a PR adding one line to `community-plugins.md`. See [CONTRIBUTING_PLUGINS.md](CONTRIBUTING_PLUGINS.md).
613+
Community plugins are listed on the [Plugins page](https://snapdom.dev/plugins.html). To submit your plugin, open a PR adding one line to `community-plugins.md`. See [CONTRIBUTING_PLUGINS.md](CONTRIBUTING_PLUGINS.md).
609614
610615
### Build a Plugin in 5 Minutes
611616

README_CN.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
<p align="center">
2-
<a href="http://zumerlab.github.io/snapdom">
2+
<a href="https://snapdom.dev">
33
<img src="https://raw.githubusercontent.com/zumerlab/snapdom/main/docs/assets/newhero.png" width="80%">
44
</a>
55
</p>
66

77
<p align="center">
8-
<a href="https://www.npmjs.com/package/@zumer/snapdom">
8+
<a href="https://snapdom.dev">
9+
<img alt="Website" src="https://img.shields.io/badge/Website-snapdom.dev-2ea44f?style=flat-square">
10+
</a>
11+
<a href="https://www.npmjs.com/package/@zumer/snapdom">
912
<img alt="NPM version" src="https://img.shields.io/npm/v/@zumer/snapdom?style=flat-square&label=Version">
1013
</a>
1114
<a href="https://www.npmjs.com/package/@zumer/snapdom">
@@ -37,6 +40,8 @@
3740

3841
SnapDOM 会保留样式、字体、背景图像、伪元素、Shadow DOM 等所有视觉特性,并通过可扩展的架构实现强大的灵活性和最高级别的捕获质量。
3942

43+
> 📖 **[文档、指南与在线演示 → snapdom.dev](https://snapdom.dev)**
44+
4045

4146
* 完整的 DOM 捕获
4247
* 内嵌样式、伪元素和字体
@@ -47,7 +52,7 @@ SnapDOM 会保留样式、字体、背景图像、伪元素、Shadow DOM 等所
4752
* 支持 CSS counter() 和 CSS counters()
4853
* 支持 `...` 文本截断(line-clamp)
4954

50-
## 演示
55+
## 官网与在线演示
5156

5257
[https://snapdom.dev](https://snapdom.dev)
5358

@@ -605,7 +610,7 @@ import { timestampOverlay } from '@zumer/snapdom-plugins/timestamp-overlay';
605610
606611
### 社区插件
607612
608-
社区插件列在[插件页面](https://zumerlab.github.io/snapdom/plugins.html)。要提交您的插件,请开一个 PR,在 `community-plugins.md` 中添加一行。详见 [CONTRIBUTING_PLUGINS.md](CONTRIBUTING_PLUGINS.md)。
613+
社区插件列在[插件页面](https://snapdom.dev/plugins.html)。要提交您的插件,请开一个 PR,在 `community-plugins.md` 中添加一行。详见 [CONTRIBUTING_PLUGINS.md](CONTRIBUTING_PLUGINS.md)。
609614
610615
### 5 分钟构建插件
611616

0 commit comments

Comments
 (0)