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

Multi-line formula RENDERING bug. #11

Closed
H-Lumos opened this issue Sep 6, 2024 · 2 comments
Closed

Multi-line formula RENDERING bug. #11

H-Lumos opened this issue Sep 6, 2024 · 2 comments

Comments

@H-Lumos
Copy link

H-Lumos commented Sep 6, 2024

Right markdown syntax used, wrong rendering output.

## this is a level 2 title

now, let's test formula feature, Maxwell's Equations are shown below:

$$
\nabla \cdot \vec B = 0 \\
\nabla \times \vec B = - \frac{\partial \vec E}{\partial t}
$$

Side preview on VSCode:
image

After moffee live .md, wrong output:
image

@BMPixel
Copy link
Owner

BMPixel commented Sep 6, 2024

Thank you. I'll look into it. Maybe it's about configs for MathJax.

@BMPixel
Copy link
Owner

BMPixel commented Sep 9, 2024

MathJax v3, which is used in moffee, does not support double backslash for new lines. Since MathJax is no longer mantained, I change to Ketax in this commit. It should be working now. Before next release, to apply the changes, please install moffee from the repo.

@BMPixel BMPixel closed this as completed Sep 9, 2024
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

No branches or pull requests

2 participants