Backlinks Template

Hi all,

I’ve set up a page template in my SilverBullet library, and it works great when I create a new page manually (for example, using Alt-N). The template content is applied automatically.

But when I create a new page indirectly — e.g. by clicking on a backlink like [[SomePage]] that doesn’t yet exist — SilverBullet creates the page, but it does not use my template. It just opens a blank file.

What I’d like is for all new pages to use my template, no matter how they’re created (Alt-N, backlinks, or search).

Is there a way to hook into the “create new page” behavior so that backlinks also get the template applied? If so, could someone share an example?

Thanks in advance!

This might be what you’re looking for ?