nuxt / content

The file-based CMS for your Nuxt application, powered by Markdown and Vue components.
https://content.nuxt.com
MIT License
3.11k stars 624 forks source link

Is there a way to have rehype-mathjax output as HTML instead of SVG? #859

Open 684efs3 opened 3 years ago

684efs3 commented 3 years ago

The default rehype-mathjax plugin will output math as an SVG. This is an issue when the equation is long because it does not wrap. Is there a way to output the result as an HTML so that it wraps?

Thanks a lot!

ManasMadrecha commented 3 years ago

I think this issue relates to the specific plugin, and not Nuxt Content module. 🤷🏻‍♂️

ManasMadrecha commented 3 years ago

You could try this https://github.com/remarkjs/remark-math