Annotate href labels with PDF link targets

This commit is contained in:
gloamxun committed 2026-10-19 21:33:26 +08:00
1 parent 88646c9453
commit 05d7980561
7 files changed
+68 -35

No files matched your search

+5
View File
@@ -266,6 +266,11 @@ pub enum FrontendEventKind {
PageNumber,
/// Start of hyperlink material.
LinkStart,
/// `\href` target: display text and URL, used for PDF annotations.
LinkTarget {
text: String,
url: String,
},
/// End of hyperlink material.
LinkEnd,
/// A package or class was loaded from a local file.