Begin ordered list from 0 in Markdown

后端 未结 4 1312
野趣味
野趣味 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条回答
  •  忘掉有多难
    2021-02-05 02:54

    Update: Depends on the implementation.

    The current version of CommonMark requires the start attribute. Some implementations already support this, e.g. pandoc and markdown-it. For more details see babelmark.

提交回复
热议问题