Skip to content

How can I display [link-id]: https://url.tld "title" links automatically where they're defined? #734

Answered by colinodell
ReedyBear asked this question in Q&A
Discussion options

You must be logged in to vote

There are currently two different ways that (kind of) support what you're looking for:

But to get the exact functionality you described, you would need to write a small extension. The heart of that extension would be an event listener for the DocumentParsedEvent that takes the parsed Document, iterates through all the references inside of its ReferenceMap, and appends link nodes (perhaps in a list?) to the bottom of the Document node so that they get rendered. I think that should give you what you're looking for :)

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ReedyBear
Comment options

Answer selected by ReedyBear
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants