From 5785292e5287865a63aa6c0bc48d6f2e244befb8 Mon Sep 17 00:00:00 2001 From: Jayant Yadav Date: Fri, 10 Jan 2025 18:15:58 +0100 Subject: [PATCH] adding feature to open external links in new page by default and internal links on the same page. --- mkdocs.yml | 6 +++++- requirements.txt | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/mkdocs.yml b/mkdocs.yml index 7a45c7931..4c5987327 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -185,4 +185,8 @@ markdown_extensions: - pymdownx.caret - pymdownx.keys - pymdownx.mark - - pymdownx.tilde + - pymdownx.tilde + +plugins: + - search + - open-in-new-tab diff --git a/requirements.txt b/requirements.txt index 4a12901ac..602b62a61 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,3 @@ mkdocs-material>=8.5.9 mkdocs>=1.4.2 +mkdocs-open-in-new-tab