Open link in content in new window

Hi there!

I am new to Grav and I love it!
I cannot however find a way to make links in content of pages open in new window (target="_blank"). Is there a working solution around? How do you set the link to open a new window in markdown?

Thanks in advance!

There is an external_links plugin available.

Alternatively I solved with this piece of JavaScript:

$(document.links).filter(function() {
    return this.hostname != window.location.hostname;
}).attr('target', '_blank');