You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Notion, there are both inline equations and block equations. They should be rendered differently, however it appears that react-notion-x doesn't take this into account. For instance, in Notion, integrals appear small in inline equations and large in block equations. In react-notion-x, however, they appear the same way (small). I believe passing the displayMode option in KaTeX rectifies this problem, as mentioned in the KaTeX documentation. The exact way to do this though might be a little different since a react wrapper package is used.
Notion:
React-Notion-X:
Notion Test Page ID
df2adb88d5b34105bc397074001b9b69
The text was updated successfully, but these errors were encountered:
Description
In Notion, there are both inline equations and block equations. They should be rendered differently, however it appears that react-notion-x doesn't take this into account. For instance, in Notion, integrals appear small in inline equations and large in block equations. In react-notion-x, however, they appear the same way (small). I believe passing the
displayMode
option in KaTeX rectifies this problem, as mentioned in the KaTeX documentation. The exact way to do this though might be a little different since a react wrapper package is used.Notion:
![Screen Shot 2022-04-29 at 12 25 32 AM](https://user-images.githubusercontent.com/56984521/165901422-7f9980bd-6631-438f-b118-4ec199a2695a.png)
React-Notion-X:
![Screen Shot 2022-04-29 at 12 26 04 AM](https://user-images.githubusercontent.com/56984521/165901486-00cf45f2-56e9-4ce5-bb7c-a87e7b0fe5c4.png)
Notion Test Page ID
df2adb88d5b34105bc397074001b9b69
The text was updated successfully, but these errors were encountered: