How can I ensure my links open in a new tab?

Here is my code…

Bug Reporting

Use Bugzilla to report bugs. See Creating a bugzilla{target="_blank"} for details on creating a Bugzilla.

This worked in MkDocs but not in Jekyll. Here is what it looks like:
I am a link {target="_blank"}

This should work:
[link text](the link){:target="_blank"}
The curly brackets and colon thing is somewhere in the kramdown documentation.
Best, Michael


< a href=" Web Site URL " target="_blank" rel=“noreferrer noopener”> Tittle < /a >

Thank you so much Michael. I have now bookmarked the kramdown documentation.

Thanks for the response.

I have created this vanilla JS script to open PDF files and external links in a new window:

1 Like

Thanks for this information. :slight_smile: