-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
How do I use equation blocks? #37
Comments
Hey @yanyanlongxia, equations are supported but you need to opt into using them because Katex is a heavyweight dependency. See my answer here: NotionX/react-notion-x#20 Let me know if you think this should be enabled by default and if you run into any issues getting it to work. |
Thank you very much, it works!. I think this should be enabled by default because equation is an important element of Notion, especially for students. By the way, does this project support sitemap? |
Awesome -- I'll look into adding equation support by default. The key is to keep it lazy loaded so it doesn't add anything to pages which don't use equations. Sitemaps aren't supported yet (you can add a manual one to |
I just updated the default to have equations enabled by default (but loaded via I still think you should opt into adding the Katex CSS since that's harder to lazy load. What do you think? |
Yes, lazy load is also necessary since we often use a lot of equations. |
fixed width for columns in browsers such as safari
Can you add support for equations?
Like this page. It should look like this , but there is nothing. This looks like a mistake in the equation.
The text was updated successfully, but these errors were encountered: