Skip to content

Welfenlab/mathjax-processor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Mathjax Processor for more-markdown.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published