Programmatic linking for Publish

Use case or problem

I would like to be able to programmatically link to multiple pages, instead of manually adding links for each of them.

This is to create indexes or rollups of a given tag or sub-directory. This is useful for creating a blog-type structure in the notebook, or to collect all pages on a given topic.

Proposed solution

Allowing search embeds in Publish would solve this, since it already supports searching and linking by tag, or by filepath.

A bonus would be if it created a relationship link between the pages as well (which is a feature present in Neuron

Current workaround (optional)

Manually typing out each link.