
Security News
Socket Releases Free Certified Patches for Critical vm2 Sandbox Escape
A critical vm2 sandbox escape can allow untrusted JavaScript to break isolation and execute commands on the host Node.js process.
markdown-it-embed-mathjax
Advanced tools
A markdown-it collection lib with support for CSS classes (classy), HTML5-embed, and mathjax.
Markdown-it with mathjax, and html5 video embed
// Install and save
npm install markdown-it-embed-mathjax --save
// include the lib.
md = require('markdown-it-embed-mathjax');
// Change markdown-it default options as you like, e.g.:
md.options.html = true;
// Render a string
var str = "<p>test</p># her er en test  $1 *2* 3$";
str+="\n\nPara with a CSS class{my-class}";
console.log(md.render(str));
npm install -g markdown-it-embed-mathjax
Translate a string to a markdown-it rendered string (with option for CSS classes, mp4 embedding and mathjax): Reads from stdin or file(s), and outputs to stdout.
Example with stdin from a shell:
echo "A test with a auto link: http://github.com/diversen" | markdown-it-embed-mathjax --linkify
Example with file(s):
markdown-it-embed-mathjax README.md --linkify --html --breaks
Options are the same as markdown-it options:
opts.boolean = ['help', 'html', 'xhtmlOut', 'breaks', 'linkify', 'typographer','decorate', 'embed', 'mathjax'];
opts.string = ['langPrefix', 'quotes'];
Video (like images):

Mathjax:
$1 *2* 3$
@ MIT
FAQs
A markdown-it collection lib with support for CSS classes (classy), HTML5-embed, and mathjax.
We found that markdown-it-embed-mathjax 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
A critical vm2 sandbox escape can allow untrusted JavaScript to break isolation and execute commands on the host Node.js process.

Research
Five malicious NuGet packages impersonate Chinese .NET libraries to deploy a stealer targeting browser credentials, crypto wallets, SSH keys, and local files.

Security News
pnpm 11 turns on a 1-day Minimum Release Age and blocks exotic subdeps by default, adding safeguards against fast-moving supply chain attacks.