3b1b / 3Blue1Brown.com

Home Page:https://www.3blue1brown.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

KaTeX \vec command not working

kurtbruns opened this issue · comments

Describe the bug

The KaTeX command \vec{v} does not draw an arrow over the variable.

To Reproduce

Try the following in a lesson.mdx file:

$$
\vec{\mathbf{v}}
$$

Notes

I tried to fix this issue by updating the related dependencies and/or doing a fresh install but ran into a rather obtuse error that I couldn't figure out. These are what appear to be the related dependencies:

    "katex": "^0.13.11",
    "rehype-katex": "^5.0.0",
    "rehype-slug": "^4.0.1",
    "remark-13-math": "npm:remark-math@^4.0.0",
    "remark-math": "^3.0.1",

The command \overrightarrow works fine, but doesn't look nearly as good.