Skip to content
This repository has been archived by the owner on Aug 2, 2020. It is now read-only.

KaTeX support #162

Open
clarfonthey opened this issue Aug 11, 2019 · 1 comment
Open

KaTeX support #162

clarfonthey opened this issue Aug 11, 2019 · 1 comment
Labels
A-customisation (Affects) customisation C-main-view Main view on web interface (component) E-medium (B) Medium (effort) to implement K-planning (Kind) is a general goal without concrete plans P-moderate (B) Moderate (impact) of change S-existing-changes (Source) is from changes people have already made

Comments

@clarfonthey
Copy link
Member

Right now, a lot of people seem to use MathJax via this patch: https://gist.github.com/christianp/222cebfa0a3c9d0062f793e98ef4e6ad

It would make sense to use KaTeX instead, which usually has a much lower impact on performance. Longer-term, we might even want to render on the server side, e.g. if kotlitex ever takes off.

This would have to be a toggled setting, as it has a nontrivial effect on performance. Additionally, it should be able to be disabled when posting.

@clarfonthey clarfonthey added A-customisation (Affects) customisation C-main-view Main view on web interface (component) E-medium (B) Medium (effort) to implement K-planning (Kind) is a general goal without concrete plans P-moderate (B) Moderate (impact) of change S-existing-changes (Source) is from changes people have already made labels Aug 11, 2019
@clarfonthey
Copy link
Member Author

Actually, this may be a faster alternative: https://github.com/glebm/katex-ruby

Will have to look into it later. Would likely require a lot of benchmarking.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-customisation (Affects) customisation C-main-view Main view on web interface (component) E-medium (B) Medium (effort) to implement K-planning (Kind) is a general goal without concrete plans P-moderate (B) Moderate (impact) of change S-existing-changes (Source) is from changes people have already made
Development

No branches or pull requests

1 participant