markdown-it-link-target
Deprecated: Use markdown-it-link-attributes instead
Link target plugin for markdown-it markdown parser.
Install
node.js, browser:
npm install markdown-it-link-target --savebower install markdown-it-link-target --save
Use
var md = var milt =
// Basic Usemd var html = mdhtml // <p><a href="https://google.com" target="_blank">link</a></p>
// With Custom Configurationmd var html = mdhtml // <p><a href="https://google.com" target="_top">link</a></p>
Differences in browser. If you load script directly into the page, without a package system, the module will add itself globally as window.markdownitLinkTarget
.