Skip to content

chore(cleanup): replace markdownit-katex with @mdit/tex#8342

Open
max-nextcloud wants to merge 1 commit intomainfrom
fix/duplicate-katex-import
Open

chore(cleanup): replace markdownit-katex with @mdit/tex#8342
max-nextcloud wants to merge 1 commit intomainfrom
fix/duplicate-katex-import

Conversation

@max-nextcloud
Copy link
Collaborator

The latex does not need to be rendered during the markdown processing.
It was extracted from the annotation afterwards anyways.

This avoids a duplicate import of KaTex which shrinks our largest chunk
from 2.4 Mb to 2.1 Mb.

@max-nextcloud max-nextcloud force-pushed the fix/duplicate-katex-import branch 3 times, most recently from e78f63a to 4f8bade Compare March 17, 2026 13:29
The latex does not need to be rendered during the markdown processing.
It was extracted from the annotation afterwards anyways.

This avoids a duplicate import of KaTex which shrinks our largest chunk
from 2.4 Mb to 2.1 Mb.

Signed-off-by: Max <max@nextcloud.com>
@max-nextcloud max-nextcloud force-pushed the fix/duplicate-katex-import branch from 4f8bade to 966e011 Compare March 17, 2026 13:33
@codecov
Copy link

codecov bot commented Mar 17, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant