9 lines
229 B
TypeScript
9 lines
229 B
TypeScript
import { MathMLToLaTeX } from 'mathml-to-latex';
|
|
|
|
export function convertMathMLToLaTeX(mathml: string): string {
|
|
console.log(MathMLToLaTeX.convert(mathml));
|
|
console.log(mathml);
|
|
|
|
|
|
return MathMLToLaTeX.convert(mathml);
|
|
} |