-
-
Notifications
You must be signed in to change notification settings - Fork 544
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Minimal Blog]: Math equations doesn't render properly #569
Comments
Thank you for opening this! Please see this other issue for how to add new remark plugins to the existing theme: There also might be issues with MDX + Katex itself, but please see upstream issue like gatsbyjs/gatsby#28031 for this. Thanks! |
Thanks @LekoArts, I was certainly able to fix the issue with your help. |
@khalidsaifullaah There are multiple ways for adding CSS, this one here is probably the most straight-forward one: https://www.gatsbyjs.com/docs/how-to/styling/global-css/#adding-global-styles-without-a-layout-component |
Thanks a lot @LekoArts, I was able to add the CSS. However, now I'm facing two new issues, I was wondering if you can help me resolve them.
As you can see, in mobile view the two .gif images are still the same size, which breaks the responsiveness of the page. Is there a way I could solve it?
Thanks |
I was able to solve the 2nd issue, it's the .gifs that are giving me the trouble now...😓 |
I was able to solve the .gif responsiveness issue as well by simply using Bootstrap! then I answered my own question on Stack Overflow😄- https://stackoverflow.com/a/66211378/7610724 Thanks |
Description
The mathematical notations that I've written using markdown conventions don't render in the proper way. I've been searching through a lot about the issue, the solutions I've found don't seem to be working, I'm really confused how may I properly render it the way it shows in markdown previews.
Some equations that are present in my .mdx file -
\hat{y} = \sigma(W_of(W_hx+b)+b)
\sigma(W_oa + b) = \hat{y}
Added a new term in gatsby.config.js (after searching around a bit on the issue)
Also, I've installed katex package as well
Screenshot of the page
Environment
The text was updated successfully, but these errors were encountered: