Closed wafer-li closed 6 years ago
I prefer to leave it to the responsibility of the environment (like mdmath
) using markdown-it-texmath
and possibly other markdown-it-xxx
plugins to care about the proper addition of markdown-it
.
Then you can decide to include katex
as well, or alternatively another TeX rendering module. markdown-it-texmath
is basically designed so, that it should be able to function properly with other rendering libraries (in future) also.
The question dependencies
vs devDependencies
is discussed controversly
here and there.
Please note, as devDependencies
is more liberal,
... there is no way to omit modules listed under dependencies.
thanks
OK,I see.
Since it requires
katex
andmarkdown-it
, I think it had better add katex and markdown-it independencies
notdevDependencies