
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
Markdoc is a simple way to convert documentation written in markdown into a nice looking html file. First install markdoc:
npm install -g markdoc
Then just run markdoc doc.md which outputs a single html file of the rendered markdown.
This html file is the result of rendering this markdown file with markdoc.
Markdoc can also render markdown that is written inside comments in a code file.
/**
*
* Notice the /** to indicate that this is a markdown comment
* the leading * on each line is NOT required but I like it
*
*/
If this was inside module.js then just run markdoc module.js to render it.
Markdoc can also be used as a node module
var markdoc = require('markdoc');
// to render some markdown just do:
var renderedMarkdown = markdoc.parse('my markdown string');
// to render multiline comments from some code just do:
var codeDocumentation = markdoc.parseCode('my code file with markdown comments');
FAQs
Render documentation written in markdown into a single pretty html file
We found that markdoc demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers 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
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.