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

Remove markdown-it-katex by porting math syntax parser #48

Merged
merged 5 commits into from
Nov 15, 2018

Conversation

yhatt
Copy link
Member

@yhatt yhatt commented Nov 15, 2018

We ported math typesetting syntax parsers for inline ($) and block ($$) from markdown-it-katex (not maintained).

It includes some optimizations while porting code, but the logic of parser is not changed. We also have ported test cases, using Jest's snapshot test. We should keep the original behavior about math typesettings.

markdown-it-katex is removed from dependencies, so developer using marp-core must not worry about double-bundling katex anymore.

Resolve #47.

@yhatt yhatt merged commit 498ea3d into master Nov 15, 2018
@yhatt yhatt deleted the remove-markdown-it-katex branch November 15, 2018 06:41
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.

1 participant