I would like to convert asciimath to svg. Is there a similar function to tex2svg that would work for asciimath? If not, can this be considered when version 3 includes asciimath? Many thanks and best wishes.
npm install mathjax-full
const math = 'x+y';require('mathjax-full').init({loader: {load:['input/asciimath', 'output/svg']}}).then((MathJax) => {const adaptor = MathJax.startup.adaptor;const html = MathJax.asciimath2svg(math);console.log(adaptor.innerHTML(html));}).catch((err) => console.error(err));
--
You received this message because you are subscribed to the Google Groups "MathJax Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mathjax-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mathjax-users/127ca7d9-edca-4f65-baf7-4582d20d3bdan%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mathjax-users/2642387d-8e3e-4e94-b2d5-516463b0aafdn%40googlegroups.com.