Skip to content

diversen/markdown-it-embed-mathjax-highlight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A markdown-it lib with support for embedded MP4, code highlight, and MathJax.

Resources

Stars

Watchers

Forks

Packages

No packages published