博客内容折叠
- categories
- >
- 博客
内容折叠
<details>
<summary>more</summary>
what's more?
this is more.
</details>
注意:<summary>标签下需要空一行否则显示原始文本。
more
what’s more?
this is more.
<details>:HTML 元素,切换为展开状态时显示内含内容
<summary>:为<details>提供概要或标签
个人使用
主要是压缩一些代码。
<details>
<summary>hello</summary>
```bash
echo "hello world"
```
</details>
效果:
hello
echo "hello world"
comment:
- Valine
- LiveRe
- ChangYan