How to reference item by number in autogenerated ordered list?
Posted by jtkorb on Aug 17, 2018; 7:32pm
URL: https://discuss.asciidoctor.org/How-to-reference-item-by-number-in-autogenerated-ordered-list-tp6447.html
I want to be able to refer to an item in an ordered list and have the reference text be the autogenerated item number (similar to the way references to autonumbered sections work). For example, given the list below, "<<thisone>>" should render as "3".
Is there a way to do this?
.Item List
. Here is the first item.
. This is the second one.
. [[thisone]] This is the referenced item.
. And a final item.