Skip to content

learningobjectsinc/mathml-to-asciimath

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mathml-to-asciimath

Convert subset of MathML to ASCIIMathML.

Usage

var convert = require('mathml-to-asciimath');

var mathml = '<math><mn>1</mn><mo>+</mo><mn>2</mn></math>';
convert(mathml); // => '1 + 2'

Running Tests

npm test

This module is not

  • comprehensive
  • performant

License

MIT