Closed KDean-Dolphin closed 2 months ago
To add to this, now that I've converted all my links to use @link
instead, this ability would be nice for any @link
that is a URL.
TypeDoc renders @link
to markdown before passing it to markdown-it, so the one option will pick up both cases
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.