26 Apr 2019

Markdown: Open Link in New Tab

In Markdown you can create links in two different ways. Either by using HTML or by using the Markdown Link Syntax. Opening Links in new Tabs is not supported in classic Markdown. If you still want to open links in new Tabs you need to switch to Kramdown which is a Markdown dialect and is also the default Markdown dialect of Jekyll. You can then use the following code for your links:

[link](url){:target="_blank"}