【问题标题】:Hidden markdown text on GitHubGitHub 上隐藏的 markdown 文本
【发布时间】:2018-03-25 21:06:30
【问题描述】:

在 GitHub 上是否有专门用于支持隐藏文本的 markdown 语法?

我只是想在README.md 中为自己写一些待办事项,不可见。


EXTRAS

作为对 Tamas 出色回答的致敬,以及被多次询问的问题,以下是如何在 MD 文件中编写可折叠部分的示例:

<details>
<summary><b>My section header in bold</b></summary>

Any folded content here. It requires an empty line just above it.

</details>

【问题讨论】:

标签: github markdown


【解决方案1】:

只需使用标准的 HTML cmets:

<!-- This is commented out. -->

【讨论】:

  • 非常适合 PlantUML
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2015-12-17
  • 2021-09-08
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多