
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
markdown-it-link-target
Advanced tools
A markdown-it plugin to configure the target attribute for links
Deprecated: Use markdown-it-link-attributes instead
Link target plugin for markdown-it markdown parser.
node.js, browser:
npm install markdown-it-link-target --save
bower install markdown-it-link-target --save
var md = require('markdown-it')()
var milt = require('markdown-it-link-target')
// Basic Use
md.use(milt)
var html = md.render('')
html // <p><a href="https://google.com" target="_blank">link</a></p>
// With Custom Configuration
md.use(milt, {
target: '_top',
})
var html = md.render('')
html // <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.
FAQs
A markdown-it plugin to configure the target attribute for links
The npm package markdown-it-link-target receives a total of 57 weekly downloads. As such, markdown-it-link-target popularity was classified as not popular.
We found that markdown-it-link-target demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.