如何从 Jekyll 中的 1 以外的数字开始有序列表?

jcu*_*bic 5 markdown jekyll

我有如下所示的 Markdown 文件:

1. First

Some text and other stuff

2. Second

Othe stuff
Run Code Online (Sandbox Code Playgroud)

但是在渲染后它生成为:

1. First

Some text and other stuff

1. Second

Othe stuff
Run Code Online (Sandbox Code Playgroud)

有没有办法让第二个有序列表从 2 开始?

jcu*_*bic 8

jekyll 使用 Kramdown 作为支持设置自定义属性的 Markdown 解析器,请参阅文档。并且 html5 支持更改有序列表起始编号的 start 属性,请参见MDN

降价文件需要如下所示:

1. First

Some text and other stuff

{:start="2"}
2. Second

Othe stuff
Run Code Online (Sandbox Code Playgroud)