0.1.3 • Published 10 years ago

easy-mathjax v0.1.3

Weekly downloads
4
License
Apache v2
Repository
github
Last release
10 years ago

easy-mathjax

Faclitate MathJax usage.

Usage:

// Configure MathJax prior to loading.
// All mathjax-config blocks will also be merged after injection.

window.MathJax = {
	tex2jax: {
		inlineMath: [["$","$"]],
		processEscapes: true
	}
};
var easy = new EasyMathJax({
	url: "path/to/mathjax.js"
});

easy.inject(function() {
	easy.render(".mathjax-block", function () {
		console.log("All items with class 'mathjax-block' have been rendered");
	});
});
0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago

0.0.4

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago