rehype-mathjax: use abstractAdopter
instead of jsdomAdaptor
/ browserAdaptor
#41
Labels
help wanted 🙏
This could use your insight or help
🙉 open/needs-info
This needs some more info
🦋 type/enhancement
This is great to have
Problem
JsDom is heavy, and an alternative to rehype, which we’re already using. It’s probably better to use
AbstractAdopter
and map it to hast, instead of usingjsdomAdaptor
/browserAdaptor
to create a DOM and then transform that to hast.Expected behaviour
Directly do mathjax -> hast, instead of mathjax -> dom -> hast
The text was updated successfully, but these errors were encountered: