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

Math formulas cannot be converted well #49

Open
Demi1024 opened this issue Aug 17, 2023 · 2 comments
Open

Math formulas cannot be converted well #49

Demi1024 opened this issue Aug 17, 2023 · 2 comments

Comments

@Demi1024
Copy link

Hello, when I use notebookjs, I find that can't render math formulas well.

One is that katex is not enough rule for exactly matching math formulas, you can see next pic
image

the other is related to referenced markedjs. When markedjs parses, it mistakenly converts _ to <em>, and converts -to <ul><li></li></ul>. markedjs/marked#1538
Is there any alternative library for marked.js conversion?

Hope to get your help❤️

@jsvine
Copy link
Owner

jsvine commented Aug 17, 2023

Hi and thank you. Can you provide a notebook that demonstrates the problems you're seeing? That would help to find a fix.

@Demi1024
Copy link
Author

Hi and thank you. Can you provide a notebook that demonstrates the problems you're seeing? That would help to find a fix.

Yes, I can provide documents to assist in verifying this issue.
https://codesandbox.io/s/math-katex-6hkx3p?file=/notebook.ipynb

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