Add ability to open markdown links in new tab #2679
Labels
enhancement
Improved functionality
good first issue
Easier issue for first time contributors
help wanted
Contributions are especially encouraged
Milestone
Search Terms
markdown link target _blank
Problem
The sourceLinkExternal option allows me to open links in a new tab when generating HTML. I would like to see a similar option for links in the markdown itself.
Suggested Solution
Markdown links are, as designed, processed by markdown-it. However, it's possible to add a
target="_blank"
to all links through the use of a custom renderer. This should be enabled through an option in the generator.The text was updated successfully, but these errors were encountered: