instant-markdown-d icon indicating copy to clipboard operation
instant-markdown-d copied to clipboard

Remove mathjax-node-page and upgrade to Mathjax v3

Open ashwinvis opened this issue 4 years ago • 3 comments

Problem summary

Some of the dependencies are deprecated, in particular mathjax-node-page. Installling would display the following deprecation:

npm WARN deprecated [email protected]: This package has been archived. MathJax v3 provides equivalent functionality.

Expected

No deprecation warnings

ashwinvis avatar Jun 16 '21 23:06 ashwinvis

Thank you for maintaining this repo. I am one of those who use this well.

Since it seems that you have already worked on upgrading mathjax version 3 related to use mathjax-full, I want to suggest to use https://github.com/pkra/mathjax-img while upgrading mathjax v3.

dev-onejun avatar Nov 11 '24 01:11 dev-onejun

@dev-onejun one should be able to implement it themselves using

https://docs.mathjax.org/en/latest/input/tex/extensions/newcommand.html

Wouldn't that be a more generic solution?

ashwinvis avatar Nov 11 '24 08:11 ashwinvis

@dev-onejun one should be able to implement it themselves using

https://docs.mathjax.org/en/latest/input/tex/extensions/newcommand.html

Wouldn't that be a more generic solution?

I do not fully understand MathJax and its related packages, but it seems that using newcommand could be more generic solution rather than using mathjax-img.

Do you plan to define img tags as a default while supporting mathjax v3?

dev-onejun avatar Nov 17 '24 14:11 dev-onejun