Is there any method to open links in mkdocs material in a new tab? #6025
-
|
Is there any method to open links in mkdocs material in a new tab? Now, when l open a link inside the mkdocs material, it will be opened in this original tab, which is not convenient for me because if l want to go back to the mkdocs but not close the tab l have opened. So, l am wondering if there is any method to open a link in a new tab in mkdocs material? Thanks for helping! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
|
Yes, I believe there are two ways you could go about this:
|
Beta Was this translation helpful? Give feedback.
-
|
wrote a plugin to simplify this https://github.com/z-aki/mkdocs-plugin-open-external-links-in-new-tab/ |
Beta Was this translation helpful? Give feedback.
Yes, I believe there are two ways you could go about this:
{target="_blank"}to your links (e.g.,[link text](https://target.link){target="_blank"}).