Gathering detailed insights and metrics for posthtml-md2html
Gathering detailed insights and metrics for posthtml-md2html
Gathering detailed insights and metrics for posthtml-md2html
Gathering detailed insights and metrics for posthtml-md2html
npm install posthtml-md2html
Typescript
Module System
Min. Node Version
Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
3 Stars
33 Commits
3 Watchers
4 Branches
10 Contributors
Updated on Aug 12, 2021
Latest Version
0.0.2
Package Id
posthtml-md2html@0.0.2
Unpacked Size
14.72 kB
Size
5.93 kB
File Count
28
NPM Version
6.13.6
Node Version
13.7.0
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
[posthtml-md2html] is a markdown plugin for [PostHTML] that lets you use markdown within HTML elements in an easy and intuitive way.
Main features:
md
or markdown
property<md>
or <markdown>
pre
tag with md
or markdown
property as <md>
tagBefore:
1<markdown># Heading with *italics*</markdown> 2<markdown>**Bold** paragraph</markdown> 3<div markdown> 4 5 | Head | row | 6 |------|-----| 7 | Data | row | 8 9</div> 10<main markdown> 11> # Title 12> 13> This is blockquote paragraph 14</main>
After:
1<h1 id="heading-with-italics">Heading with <em>italics</em></h1> 2 3<p><strong>Bold</strong> paragraph</p> 4 5<div><table> 6<thead> 7<tr> 8<th>Head</th> 9<th>row</th> 10</tr> 11</thead> 12<tbody><tr> 13<td>Data</td> 14<td>row</td> 15</tr> 16</tbody></table> 17</div> 18<main><blockquote> 19<h1 id="title">Title</h1> 20<p>This is blockquote paragraph</p> 21</blockquote> 22</main>
1npm i -S posthtml posthtml-md2html
Note: This project is compatible with node v10+
1const fs = require('fs'); 2const posthtml = require('posthtml'); 3const posthtmlPlugin = require('posthtml-md2html'); 4 5posthtml() 6 .use(posthtmlPlugin({ /* options */ })) 7 .process(html/*, options */) 8 .then(result => fs.writeFileSync('./after.html', result.html));
All options are passed to marked directly
See PostHTML Guidelines and contribution guide.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/5 approved changesets -- score normalized to 0
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
Reason
27 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
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