How to add latex support to my nuxt-content blog #2561
-
My blog is very basic nothing fancy. Just plain nuxt3 and nuxt-content at abhimanyuaryan.github.com I assumed that latex will work out-of-the-box because it works in markdown files but I didn't Then I installed
following this blog: https://www.heeteshalwani.com/blog/math-nuxt/ and it still didn't work. Do I need to make some changes in nuxt.config.js? Currently the website looks like this Thanks in advance |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
You have to add the installed plugins in your config too :) |
Beta Was this translation helpful? Give feedback.
-
Ok @manniL I added the plugin but it doesn't work as intended. The latex is formatted properly but it's getting repeated again without the formatting. So it's render twice on page. One with formatting, another without formatting |
Beta Was this translation helpful? Give feedback.
-
solution was using mathjax instead of katex
|
Beta Was this translation helpful? Give feedback.
solution was using mathjax instead of katex