Gathering detailed insights and metrics for markdown-it-linkify-images
Gathering detailed insights and metrics for markdown-it-linkify-images
Gathering detailed insights and metrics for markdown-it-linkify-images
Gathering detailed insights and metrics for markdown-it-linkify-images
A markdown-it plugin to add links to images
npm install markdown-it-linkify-images
Typescript
Module System
Node Version
NPM Version
83.4
Supply Chain
81.2
Quality
75.6
Maintenance
100
Vulnerability
99.6
License
JavaScript (100%)
Total Downloads
1,067,415
Last Day
230
Last Week
1,995
Last Month
7,802
Last Year
91,085
MIT License
9 Stars
72 Commits
6 Forks
2 Watchers
15 Branches
7 Contributors
Updated on Dec 09, 2024
Minified
Minified + Gzipped
Latest Version
4.0.0
Package Id
markdown-it-linkify-images@4.0.0
Unpacked Size
6.19 kB
Size
2.78 kB
File Count
7
NPM Version
8.1.2
Node Version
16.13.1
Published on
Jan 20, 2023
Cumulative downloads
Total Downloads
Last Day
4.1%
230
Compared to previous day
Last Week
-12.1%
1,995
Compared to previous week
Last Month
-29.8%
7,802
Compared to previous month
Last Year
-15.6%
91,085
Compared to previous year
1
A markdown-it plugin to add links to images
Linkifying Images plugin for markdown-it markdown parser.
node.js, browser:
1npm install markdown-it-linkify-images --save 2bower install markdown-it-linkify-images --save
1var md = require('markdown-it')() 2var mili = require('markdown-it-linkify-images')
1// Basic Use 2md.use(mili) 3 4var html = md.render('') 5html // <p><a href="img/smile.png" target="_self"><img src="img/smile.png" alt="the image caption"></a></p>
1// With Custom Configuration 2md.use(mili, { 3 target: '_blank', 4 linkClass: 'custom-link-class', 5 imgClass: 'custom-img-class' 6}) 7 8var html = md.render('') 9html // <p><a href="img/smile.png" target="_blank" class="custom-link-class"><img src="img/smile.png" alt="the image caption" class="custom-img-class"></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.markdownitLinkifyImages
.
This plugin is tested against markdown-it @ 6,7,8 and latest
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
8 existing vulnerabilities detected
Details
Reason
Found 4/25 approved changesets -- score normalized to 1
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-06-23
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More