docs: update solar-network/open/embed-widget
This commit is contained in:
parent
22e1610889
commit
c2c571a7c5
@ -2,7 +2,7 @@
|
|||||||
title: 嵌入式组件
|
title: 嵌入式组件
|
||||||
description: 使用 iFrame 将 Solar Network 上的内容嵌入到你的网页内
|
description: 使用 iFrame 将 Solar Network 上的内容嵌入到你的网页内
|
||||||
published: true
|
published: true
|
||||||
date: 2024-08-16T17:51:27.720Z
|
date: 2024-08-16T17:55:47.620Z
|
||||||
tags: solar network, project open
|
tags: solar network, project open
|
||||||
editor: markdown
|
editor: markdown
|
||||||
dateCreated: 2024-08-16T17:51:27.720Z
|
dateCreated: 2024-08-16T17:51:27.720Z
|
||||||
@ -17,12 +17,12 @@ dateCreated: 2024-08-16T17:51:27.720Z
|
|||||||
|
|
||||||
## 用法
|
## 用法
|
||||||
|
|
||||||
<iframe src="https://solsynth.dev/embed/posts/888" width="480" height="640" frameborder="0" />
|
<iframe src="https://solsynth.dev/embed/posts/888" width="480" height="640" frameborder="0"></iframe>
|
||||||
|
|
||||||
以上你可以看见一个 480x640 的小组件里面放 #888 号帖子,讲的是我们使用 Cloudflare 的故事。
|
以上你可以看见一个 480x640 的小组件里面放 #888 号帖子,讲的是我们使用 Cloudflare 的故事。
|
||||||
|
|
||||||
这就是嵌入小组件,用法非常简单,上面的事例代码如下
|
这就是嵌入小组件,用法非常简单,上面的事例代码如下
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<iframe src="https://solsynth.dev/embed/posts/888" width="480" height="640" frameborder="0" />
|
<iframe src="https://solsynth.dev/embed/posts/888" width="480" height="640" frameborder="0"></iframe>
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user