Open external in new Window/Tab with Kirbytext

Is it possible to open external links in a new window/tab (target="_blank") by adding a parameter to the (link: http://…) tag in Kirbytext? Cannot find a hint in the docs here

Or do i need to code a custom tag?

Sure, just put

(link:  target: _blank)

These are the available options:


cool, thanks for the list.

i also found the full docs for this tag here:

Is there any easy way to apply target: _blank to all external links automatically when calling ->kt() or ->kti() ?

Hm, you could create a custom link tag, and in your custom code determine if the given link is external or not and then apply the target attribute accordingly.

If you really want that behavior…