Skip to content

Allow modifying the text in broken_link_callback #466

Closed
@jyn514

Description

@jyn514

Use case: rustdoc wants to turn [type@char] into <a href="https://doc.rust-lang.org/std/primitive.char.html>char</a>. But the broken_link_callback API doesn't allow for changing the text of a link, only the title that shows up when you hover.

See also rust-lang/rust#65354, especially my comments around rust-lang/rust#65354 (comment).

I'd try to implement this myself, but my last try went ... poorly.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions