Skip to content
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

Add 'displayMode' in katexSettings #281

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Thooooor
Copy link

Description

Notion Test Page ID

PINN-df5c77e6831d4c2d9f9fa81f18bccdf0

The value of 'displayMode' is the opposite of the value of 'inline'.
@vercel
Copy link

vercel bot commented Apr 30, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
react-notion-x ✅ Ready (Inspect) Visit Preview Apr 30, 2022 at 5:47PM (UTC)
react-notion-x-minimal-demo ✅ Ready (Inspect) Visit Preview Apr 30, 2022 at 5:47PM (UTC)

@jacksongoode
Copy link

@Thooooor I tried this out as a patch for the library and it didn't seems to resolve cases where \begin{align}...\end{align} appeared in the math blocks. Hmm, any thoughts?

@jacksongoode
Copy link

It might be useful to also add an example of an equation that would require the displayMode=True within the preview demo test?

@jacksongoode
Copy link

@transitive-bullshit This one might be an easy fix for many broken equation blocks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants