Begin ordered list from 0 in Markdown

后端 未结 4 1230
野趣味
野趣味 2021-02-05 01:57

I\'m new to Markdown. I was writing something like:

#Table of Contents  
0. Item 0  
1. Item 1  
2. Item 2

But that generates:

4条回答
  •  -上瘾入骨i
    2021-02-05 02:52

    You can use HTML start tag:

    1. item 1
    2. item 2
    3. item 3

    It's currently supported in all browsers: Internet Explorer 5.5+, Firefox 1+, Safari 1.3+, Opera 9.2+, Chrome 2+

    Optionally you can use type tab for more sophisticated enumerating:

    • type="1" - decimal (default style)
    • type="a" - lower-alpha
    • type="A" - upper-alpha
    • type="i" - lower-roman
    • type="I" - upper-roman

提交回复
热议问题