Gathering detailed insights and metrics for @stylelint/postcss-markdown
Gathering detailed insights and metrics for @stylelint/postcss-markdown
Gathering detailed insights and metrics for @stylelint/postcss-markdown
Gathering detailed insights and metrics for @stylelint/postcss-markdown
PostCSS Syntax for parsing Markdown
npm install @stylelint/postcss-markdown
Typescript
Module System
Node Version
NPM Version
96.1
Supply Chain
93.6
Quality
81.2
Maintenance
100
Vulnerability
100
License
JavaScript (100%)
Total Downloads
282,323,384
Last Day
136,768
Last Week
695,727
Last Month
3,003,067
Last Year
35,146,546
MIT License
41 Commits
2 Forks
2 Watchers
1 Branches
21 Contributors
Updated on Jan 28, 2023
Minified
Minified + Gzipped
Latest Version
0.36.2
Package Id
@stylelint/postcss-markdown@0.36.2
Size
2.91 kB
NPM Version
6.14.8
Node Version
14.15.0
Published on
Nov 17, 2020
Cumulative downloads
Total Downloads
Last Day
61.4%
136,768
Compared to previous day
Last Week
6%
695,727
Compared to previous week
Last Month
-7.8%
3,003,067
Compared to previous month
Last Year
-20.2%
35,146,546
Compared to previous year
2
2
PostCSS Syntax for parsing Markdown
First thing's first, install the module:
npm install postcss-syntax postcss-markdown --save-dev
If you want support SCSS/SASS/LESS/SugarSS syntax, you need to install the corresponding module.
1var syntax = require("postcss-syntax")({ 2 // Enable support for HTML (default: true) See: https://github.com/gucong3000/postcss-html 3 htmlInMd: true, 4 // syntax for parse scss (non-required options) 5 scss: require("postcss-scss"), 6 // syntax for parse less (non-required options) 7 less: require("postcss-less"), 8 // syntax for parse css blocks (non-required options) 9 css: require("postcss-safe-parser") 10}); 11var autoprefixer = require("autoprefixer"); 12postcss([autoprefixer]) 13 .process(source, { syntax: syntax }) 14 .then(function(result) { 15 // An alias for the result.css property. Use it with syntaxes that generate non-CSS output. 16 result.content; 17 });
input:
# title
```css
::placeholder {
color: gray;
}
```
output:
# title
```css
::-webkit-input-placeholder {
color: gray;
}
:-ms-input-placeholder {
color: gray;
}
::-ms-input-placeholder {
color: gray;
}
::placeholder {
color: gray;
}
```
If you want support SCSS/SASS/LESS/SugarSS syntax, you need to install these module:
See: postcss-syntax
The main use case of this plugin is apply PostCSS transformations to CSS (and CSS-like) code blocks in markdown file.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
security policy file detected
Details
Reason
Found 6/30 approved changesets -- score normalized to 2
Reason
dependency not pinned by hash detected -- score normalized to 2
Details
Reason
project is archived
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
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
Reason
30 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-04-28
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