Alwinator / asciidoctor-lists

An asciidoctor extension that adds a list of figures, a list of tables, or a list of anything you want!
Mozilla Public License 2.0
39 stars 10 forks source link

References do not work #3

Closed RerrerBuub closed 2 years ago

RerrerBuub commented 2 years ago

Hi, thanks for this great plugin.

I tried to use it at my project, but by using the asciidoctor-lists all references inside of my documentation to tables do not work any more. Only the links at the table lists are points into the documented table.

This was my test document:

// Document header // This is the document header, it can not contain empty lines! //Attributes needed for PDF generation = Table Test

// Which header file contains the code with the tags? // This is relative to where the main documentation .adoc is located. == Test

.1stTable [#myTable] [cols='a,5a'] |=== h| Parameters h| Values

| FirstParameter | 4711 | NextParameter | 0815 | NextParameter | 0815 | NextParameter | 0815 | NextParameter | 0815 | NextParameter | 0815 | NextParameter | 0815 | NextParameter | 0815 | NextParameter | 0815 | NextParameter | 0815 | NextParameter | 0815 | NextParameter | 0815 | NextParameter | 0815

|===

<<<<

== next Chapter // reference to my table does not work with asciidoctor-lists enabled Text with reference to <<myTable, my table>>

=== List of tables

element_list::[element=table]

Alwinator commented 2 years ago

@RerrerBuub I'm glad you like my plugin! I just published a new version (v1.0.2), which should fix your bug.

RerrerBuub commented 2 years ago

Great, thanks for this fast fix