1.0.5 • Published 8 years ago

markdown-it-embed-mathjax-highlight v1.0.5

Weekly downloads
6
License
MIT
Repository
github
Last release
8 years ago

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));