Replies: 6 comments
-
Appreciate your suggestion and effort. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I followed this tutorial and didn't have this issue @andreyyao https://blog.alexafazio.dev/blog/render-latex-in-astro/ |
Beta Was this translation helpful? Give feedback.
-
@caleb-shelton I just did a fresh install, and it's the same issue. Which version of remark-math and rehype-katex are you using? EDIT: Upon further inspection, I think tailwindcss or the dark mode toggle is not playing right with the katex expressions. I got a temporary fix working by overwriting this css in layouts/PostDetails.astro:
|
Beta Was this translation helpful? Give feedback.
-
@andreyyao I didn't know that issue since I always use light mode. I've found the same issue with yours on my blog. I fixed it using your modification on |
Beta Was this translation helpful? Give feedback.
-
Convert this issue into a discussion for future reference. |
Beta Was this translation helpful? Give feedback.
-
I think support latex math expression in markdown is a good option like the following image.
Thank you
Best Regards
@gyunseo
Beta Was this translation helpful? Give feedback.
All reactions