# Open link in new tab

**URL:** <https://forum.youcanbook.me/t/open-link-in-new-tab/1648>\
**Category:** Miscellaneous\
**Created:** [March 27, 2022, 5:17pm UTC](https://forum.youcanbook.me/t/open-link-in-new-tab/1648 "2022-03-27T17:17:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![LeroySchulz](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.youcanbook.me/leroyschulz/32/344_2.png) [@LeroySchulz](https://forum.youcanbook.me/u/LeroySchulz)\
**Post date:** [March 27, 2022, 5:17pm UTC](https://forum.youcanbook.me/t/open-link-in-new-tab/1648/1 "2022-03-27T17:17:59Z")

</div>

How do I make a link in “Text after the question” open in a new tab?

I’m using the _[Link] ([http://a.com](http://a.com))_ markdown but that doesn’t appear to support the _target="\_blank"_ convention.

---

<div class="post-metadata">

**Author:** ![darren](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.youcanbook.me/darren/32/566_2.png) [@darren](https://forum.youcanbook.me/u/darren)\
**Post date:** [April 5, 2022, 11:08am UTC](https://forum.youcanbook.me/t/open-link-in-new-tab/1648/2 "2022-04-05T11:08:45Z")

</div>

Hi Leroy,

You should be able to use:

```auto
[Link](https://a.com?useTarget=_blank)

```

Note if you URL you wish to point to has a query string already, you’ll need to use an `&` not a `?` eg:

```auto
[Link](https://a.com?myQuery=test&useTarget=_blank)

```

hope that helps!

---

<div class="post-metadata">

**Author:** ![LeroySchulz](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.youcanbook.me/leroyschulz/32/344_2.png) [@LeroySchulz](https://forum.youcanbook.me/u/LeroySchulz)\
**Post date:** [April 6, 2022, 2:35pm UTC](https://forum.youcanbook.me/t/open-link-in-new-tab/1648/3 "2022-04-06T14:35:50Z")

</div>

Thanks Darren. I just tried this. It still opens the link on the same tab rather than open a new one.

I’m using this version of your suggestion:

```auto
[Link](https://a.com?useTarget=_blank)

```

I just PMed you the links.

Any other suggestions?

---

<div class="post-metadata">

**Author:** ![darren](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.youcanbook.me/darren/32/566_2.png) [@darren](https://forum.youcanbook.me/u/darren)\
**Post date:** [April 6, 2022, 3:39pm UTC](https://forum.youcanbook.me/t/open-link-in-new-tab/1648/4 "2022-04-06T15:39:53Z")

</div>

Hi Leroy,

You have hit a bit of an edge case!

In this instance you you need to move the ?useTarget in front of the # , so the link would look like this:

```auto
[Link Text](https://www.mylink.com/?useTarget=_blank#anchor)

```

---

<div class="post-metadata">

**Author:** ![LeroySchulz](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.youcanbook.me/leroyschulz/32/344_2.png) [@LeroySchulz](https://forum.youcanbook.me/u/LeroySchulz)\
**Post date:** [April 6, 2022, 4:14pm UTC](https://forum.youcanbook.me/t/open-link-in-new-tab/1648/5 "2022-04-06T16:14:59Z")

</div>

The slight variation to the URL when using an anchor worked. Thanks very much!
