2

Is it possible to have an ordered list in Github Flavored Markdown that begins with '0'?

Just typing 0. at the beginning is getting rendered as '1.'

4

1 回答 1

3

考虑到GitHub Flavored Markdown (GFM)markdown plus 一些 features,答案将与“ Begin ordered list from 0 in Markdown ”相同:

如果您想从某个数字开始,不幸的是,您必须使用纯 HTML 并编写:

<ol start="0">
  <li>Item 0</li>
  <li>Item 1</li>
  <li>Item 2</li>
</ol>
于 2014-11-25T06:43:42.067 回答