mirror of
https://github.com/typst/typst
synced 2025-05-14 04:56:26 +08:00
Changed equation reference customization example to include a link (#3812)
This commit is contained in:
parent
72c5b42a30
commit
d672080e85
@ -77,10 +77,10 @@ use crate::text::TextElem;
|
||||
/// let el = it.element
|
||||
/// if el != none and el.func() == eq {
|
||||
/// // Override equation references.
|
||||
/// numbering(
|
||||
/// link(el.location(),numbering(
|
||||
/// el.numbering,
|
||||
/// ..counter(eq).at(el.location())
|
||||
/// )
|
||||
/// ))
|
||||
/// } else {
|
||||
/// // Other references as usual.
|
||||
/// it
|
||||
|
Loading…
x
Reference in New Issue
Block a user