Skip to content

Commit 51d03ee

Browse files
committed
add
1 parent 0774f22 commit 51d03ee

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
## 使用
2+
3+
```html
4+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/wechatsync/article-syncjs@latest/dist/styles.css" />
5+
<script src="https://cdn.jsdelivr.net/gh/wechatsync/article-syncjs@latest/dist/main.js"></script>
6+
```
7+
8+
## API
9+
拉起同步框
10+
```js
11+
window.syncPost({
12+
title: 'Ractor 下多线程 Ruby 程序指南',
13+
desc:
14+
'什么是 Ractor?Ractor 是 Ruby 3 新引入的特性。Ractor 顾名思义是 Ruby 和',
15+
content: 'hello world',
16+
thumb:
17+
'http://mmbiz.qpic.cn/mmbiz_jpg/CJcVm4ThlNOeib5w5A6MYk4Eg9ErnzZ73dEicribs3gPPUB4cCxiaeRm2ZfNOibHfl4TIo8h6VlFZeBRmLoMKgibvPdw/0?wx_fmt=jpeg',
18+
})
19+
```

0 commit comments

Comments
 (0)