markdown-it-embed-mathjax-highlight

1.0.5 • Public • Published

markdown-it-embed-mathjax-highlight.js

Markdown-it with mathjax, highlightjs, and html5 video embed.

Install:

// Install and save
npm install markdown-it-embed-mathjax-highlight --save

Usage:

// include the lib.
md = require('markdown-it-embed-mathjax-highlight');

// Change options as you like (as in markdown-it), e.g.: 
md.options.html = true;

// Render a string
var str = "<p>test</p># her er en test ![test](./test/test.mp4) $1 *2* 3$";
console.log(md.render(str));

Package Sidebar

Install

npm i markdown-it-embed-mathjax-highlight

Weekly Downloads

5

Version

1.0.5

License

MIT

Last publish

Collaborators

  • diversen