Open links in new window

Do you know I can set my external links to open in a new window?

1 Like

There is no such feature in markdown, however you can always use HTML inside markdown:

<a href="" target="_blank">example</a>

Juut add a target="_blank" attribute to your links (anchor tags). Now when your visitors click that link.

You may specify the window size by adding few javascript.

Example :

<a onclick=", '_blank', 'location=yes,height=570,width=520,scrollbars=yes,status=yes');">
  Share Page

You could also add some javascript to make all external links open in a new tab automatically:

$('a').each(function() {
    var a = new RegExp('/' + + '/');
    if(!a.test(this.href)) {
        $(this).click(function(event) {
  , '_blank');

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.