runarberg / markdown-it-math

Markdown-it plugin to include math in your document
MIT License
41 stars 18 forks source link

Katex version #26

Open adamAfro opened 2 years ago

adamAfro commented 2 years ago

So, my math was rendered badly due to old katex version which I fixed by installing katex into my own project using this and then I copied the newly installed version into markdown-it-math/node_modules which was made to compromise different version (I think) - then it rendered everything correctly.

"dependencies": {
    "katex": "^0.6.0"
  },

In conclusion... changing the version to 0.15.1 fixex styling problem