mkf*_*fin 7 asciidoc asciidoctor
我正在使用asciidoctor生成html。我有以下清单:
. one
. two
. three
image::mypic.png[]
. four
Run Code Online (Sandbox Code Playgroud)
并且当转换为html时,它看起来像这样:
1. one
2. two
3. three
<my picture>
1. four
Run Code Online (Sandbox Code Playgroud)
在html中,我希望看到:
1. one
2. two
3. three
<my picture>
4. four
Run Code Online (Sandbox Code Playgroud)
我不想在插入图像后手动重置计数器,因为我有数百种类似的情况。
Jmi*_*ini 10
受asciidoctor文档(“ 复杂列表内容”部分)的启发,您可以+在图像块之前添加a 而不是空白行。
. one
. two
. three
+
image::mypict.png[]
. four
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
531 次 |
| 最近记录: |