mathjax / mathjax-node-cli

CLI tools for mathjax-node
Apache License 2.0
33 stars 13 forks source link

unify the tools #4

Open pkra opened 7 years ago

pkra commented 7 years ago

A unified tool would seem to make more sense.

pkra commented 7 years ago

This should cover most of it already.

knoxell commented 2 years ago

Hey @pkra, is this still wanted and would be merged?

I'm interested in having all these tools in one. I imagine something like mathjax [command] [options] 'math' > file.svg with

Commands:
  am2htmlcss
  am2mml
  am2svg
  mml2html
  mml2htmlcss
  mml2mml
  mml2svg
  mml2svg-html5
  tex2html
  tex2htmlcss
  tex2mml
  tex2svg 

Looking at https://github.com/yargs/yargs/issues/225, this could be implemented with copying most of the existing code.