# Open links in a new tab

**URL:** <https://discuss.write.as/t/open-links-in-a-new-tab/1113>\
**Category:** Help\
**Created:** [February 13, 2020, 4:24am UTC](https://discuss.write.as/t/open-links-in-a-new-tab/1113 "2020-02-13T04:24:45Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![cjeller1592](https://discuss.write.as/user_avatar/discuss.write.as/cjeller1592/32/128_2.png) [@cjeller1592](https://discuss.write.as/u/cjeller1592)\
**Post date:** [February 13, 2020, 1:06pm UTC](https://discuss.write.as/t/open-links-in-a-new-tab/1113/2 "2020-02-13T13:06:44Z")

</div>

Hi @zorbazelda! At the moment it is not supported in the current Write.as Markdown. I’d recommend using HTML instead:

```auto
<a href="http://example.com/" target="_blank">Hello, world!</a>

```

If you wanted to get more technical, you could add Custom JS to your site (if you have a Write.as Pro subscription) that would make each link on your blog open in a new tab. That way you could use Markdown normally and not have to use the above HTML. That JS would look something like this:

```auto
var links = document.links;

for (var i = 0, linksLength = links.length; i < linksLength; i++) {
   if (links[i].hostname != window.location.hostname) {
       links[i].target = '_blank';
   } 
}

```

But the you mention would be a perfect suggestion to put in [this topic](https://discuss.write.as/t/new-formatting-syntaxes/43) where we are exploring different Markdown standards/options to implement in Write.as. Thanks for bringing this up and hope this answers your question!

---

_[View the full topic](https://discuss.write.as/t/open-links-in-a-new-tab/1113)._
