-
-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Display equations? #434
Comments
For some reason, renders as a proper display equation. |
@laurent22 Both are valid notations. The first one is commonly used when the equation is in the same line as the text, so it is more "compressed". Maybe the issue is that Katex is not seeing both dollar signs together in $$ ... $$? Perhaps for some reason the parser is only capturing one of the dollar signs and therefore interpreting it as an inline equation? |
Since joplin relies on katex with this one, I don't think this is a bug in joplin itself. |
@luriomer Katex renders display equations without problems in other applications. Could it be a problem in the way the text is sent to katex? |
It probably renders the markdown too frequently. It's fine when it's just text to HTML, but the Katex formula is slower to render so it's causing an issue. I will add something to make it render less frequently when Katex is used. @cossio, I'm not completely familiar with Katex notation but if, in the background (i.e. it won't be visible), we wrap all Katex blocks in |
@laurent22 I suspect hard-coding |
Operating system
Application
Both $$ \sum_i f(x)$$ and$\sum_i f(x)$ render as inline equations:
What can I do to get a proper display equation (for example, the index in the sum should be below the sum), like this:
The text was updated successfully, but these errors were encountered: