Pasting content of Scrivener links into text?

Given a text with Scrivener links in it, is there a way to have the link contents pasted into the text at compile time?

The result would be an aggregate, longer text, made of pieces that exist independently. I’ve been looking for a way to do that for a while.