Awesome Asciidoctor: Change Start Number for Numbered List
With Asciidoctor we can create numbered lists easily. When we want to change the number the list starts with we use the start
attribute when we define the list.
== Numbered List
.Default
. Makes writing easy
.. Keep focus
.. Syntax
. Different output formats
// Start this list from 10.
[start=10]
.Start from 10
. Makes writing easy
// We can use it on all levels.
[start=10]
.. Keep focus
.. Syntax
. Different output formats
We get the following HTML output when we transform the document:
Written with Asciidoctor 1.5.2.