asciidoctor / asciidoctor.org

:globe_with_meridians: Asciidoctor project site. Composed in AsciiDoc. Baked with Awestruct.
https://asciidoctor.org
Other
322 stars 807 forks source link

creating table xrefs that leverage the autogenerated table numbers #1025

Closed ernest-bruce closed 1 year ago

ernest-bruce commented 1 year ago

AsciiDoctor appears not to support the creation of xrefs that instead of a regular anchor use the autogenerated table caption + table number

that is, using a table ID (similar to a bibliography·item ID [[[reference,1]]] but without the custom number) i would like to code something like <> shows ... and the produced xref text to be “Table 1 shows ...” where Table 1 is a link to the table but without me having to maintain the table numbers as i add/remove tables

mojavelinux commented 1 year ago

Please ask questions in the project chat at https://chat.asciidoctor.org as stated on the support policy page. This is not the place to ask them. Thanks.