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.'
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.'
考虑到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>