0.1.2 • Published 10 years ago

@more-markdown/mathjax-processor v0.1.2

Weekly downloads
1
License
MIT
Repository
gitlab
Last release
10 years ago

more-markdown / mathjax-processor

A plugin for more-markdown that render LaTeX formulas using MathJax.

Installation

You first need a more-markdown setup. Then you can install it via:

npm install @more-markdown/mathjax-processor

Usage

var moreMarkdown = require('more-markdown');
var mathjaxProcessor = require('@more-markdown/mathjax-processor');

// create a processor that writes the final html
// to the element with the id 'output'
var proc = moreMarkdown.create('output', processors: [mathjaxProcessor]);

proc.render("$$ a^2 = b^2 + c^2 $$");
0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago