Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andreabedini/jstransformer-mathjax
MathJax support for JSTransformers
https://github.com/andreabedini/jstransformer-mathjax
Last synced: about 11 hours ago
JSON representation
MathJax support for JSTransformers
- Host: GitHub
- URL: https://github.com/andreabedini/jstransformer-mathjax
- Owner: andreabedini
- Created: 2015-11-03T01:13:41.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-09T12:59:29.000Z (over 7 years ago)
- Last Synced: 2024-10-11T23:45:40.965Z (27 days ago)
- Language: JavaScript
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# jstransformer-mathjax
JSTransformers plumbing for rendering LaTeX formulas into SVG or MML using
MathJax.[![Build
Status](https://img.shields.io/travis/andreabedini/jstransformer-mathjax/master.svg)](https://travis-ci.org/andreabedini/jstransformer-mathjax)
[![Dependency
Status](https://img.shields.io/david/andreabedini/jstransformer-mathjax.svg)](https://david-dm.org/andreabedini/jstransformer-mathjax)
[![Coverage
Status](https://img.shields.io/coveralls/andreabedini/jstransformer-mathjax/master.svg)](https://coveralls.io/r/jstransformers/jstransformer-mathjax?branch=master)
[![NPM
version](https://img.shields.io/npm/v/jstransformer-mathjax.svg)](https://www.npmjs.org/package/jstransformer-mathjax)## Installation
npm install jstransformer-mathjax
## Usage
var transformer = require('jstransformer');
var mathjax = transformer(require('jstransformer-mathjax'));var options = {};
var res = mathjax.render('c = \\pm\\sqrt{a^2 + b^2}', options);
// => {body: '