Changed equation reference customization example to include a link (#3812)

This commit is contained in:
Lucy-73 2024-04-01 22:50:28 +02:00 committed by GitHub
parent 72c5b42a30
commit d672080e85
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -77,10 +77,10 @@ use crate::text::TextElem;
/// let el = it.element /// let el = it.element
/// if el != none and el.func() == eq { /// if el != none and el.func() == eq {
/// // Override equation references. /// // Override equation references.
/// numbering( /// link(el.location(),numbering(
/// el.numbering, /// el.numbering,
/// ..counter(eq).at(el.location()) /// ..counter(eq).at(el.location())
/// ) /// ))
/// } else { /// } else {
/// // Other references as usual. /// // Other references as usual.
/// it /// it