Hello.
I'm writing a custom macro for Confluence that lists all of the outgoing links on a page. I want it to look like this mockup:

So far, I'm requesting the content of the body of the page, and storing the url properties of all InlineCard objects in an array.
I would like to render the links in my macro in the same "smart link" style as the InlineCards in the body if possible. But I can't find any documentation on how to achieve this. Is this possible at all?