This simple library adds external link support to Markdown
This simple library adds external link support to Markdown
https://eddymens.com/blog
will open up in a new tab with relative URLs e.g.: /blog
opening up within the same tab.Here is a complete example
## Demo Markdown
[button text](https://eddymens.com)
<script src='https://cdn.jsdelivr.net/gh/eddymens/[email protected]/main.min.js'></script>
I have also written on the subject: external links and Markdown if you want to check it out.
NB: Your Markdown parser must allow script tags for this to work.