Skip to content

Commit

Permalink
fix: too many hyperlink in content
Browse files Browse the repository at this point in the history
  • Loading branch information
RizhongLin committed Dec 19, 2023
1 parent a14cedf commit c469294
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions style/elements.typ
Original file line number Diff line number Diff line change
Expand Up @@ -135,15 +135,16 @@
h(indent-width)
}

el_number
el.body
link(el.location(), el_number)
link(el.location(), el.body)
box(width: 1fr, h(0.25em) + box(width: 1fr, repeat#h(1pt)]) + h(0.25em))
str(counter(page).at(el.location()).first())
link(el.location(),str(counter(page).at(el.location()).first()))

linebreak()
}

link(el.location(), line)
// link(el.location(), line)
line
}
},
)
Expand Down

0 comments on commit c469294

Please sign in to comment.