barryclark / jekyll-now

Build a Jekyll blog in minutes, without touching the command line.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to set links to open in a new tab

username-checks-out opened this issue · comments

Is there a way to insert a link on the format [Xyz](www.xxx.yy), but to have it open in a new tab?

You should add the target="_blank" and rel="noopener noreferrer" in the anchor tag. https://stackoverflow.com/questions/15551779/open-link-in-new-tab-or-window