0

I want to add links to my GitHub readme.md file which will open up a new tab when clicked.

Any other markup that can do this instead of html? target="_blank" doesn't work. :(

Most of the answers from other questions don't work for me.

Nathan Arthur
  • 8,287
  • 7
  • 55
  • 80
Vikrant Singh
  • 82
  • 1
  • 2
  • 12
  • Possible duplicate of [markdown target="\_blank"](https://stackoverflow.com/questions/4425198/markdown-target-blank) – InvincibleM Jun 27 '17 at 23:20
  • You cant in markdown. You will need to create a website. https://stackoverflow.com/questions/4425198/markdown-target-blank – InvincibleM Jun 27 '17 at 23:21

1 Answers1

-1

Use JavaScript to open the link in a new tab

<a href="test.html" onclick="return ! window.open(this.href);">Open in a new window</a>
Chris
  • 426
  • 2
  • 7
  • 18