【发布时间】:2019-02-12 07:32:42
【问题描述】:
github如何折叠文本块?
看看这个issuecomment
【问题讨论】:
标签: github markdown folding github-flavored-markdown
github如何折叠文本块?
看看这个issuecomment
【问题讨论】:
标签: github markdown folding github-flavored-markdown
检查这是否遵循dear-github issue 166,其中提到:
支持可折叠部分:
<details>
<summary>Click to expand</summary>
whatever
</details>
关键是将整个内容包裹在
<p>中:
<details><summary>stuff with *mark* **down**</summary><p>
## _formatted_ **heading** with [a](link)
---
{{standard 3-backtick code block omitted from here due to escaping issues}}
---
Collapsible until here.
</p></details>
【讨论】:
---;您只需要在<p> 内前后各有一个空行 的围栏代码块。