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

feat: add katex support #22

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

jcgruenhage
Copy link

This is mostly copy-paste of getzola/even#16.

I tested it locally, works as expected.

I'm still wondering whether zola can do anything to make this less painful, as porting KaTeX rendering to every theme is quite a lot of duplication. This is okay now, but updating will be a major PITA. A solution where zola inserts these would be a lot better IMO.

@Keats
Copy link
Collaborator

Keats commented Aug 31, 2020

There is getzola/zola#1073 but it doesn't seem to build on Windows

@jcgruenhage
Copy link
Author

Ah, amazing, hadn't seen that one yet!

@jcgruenhage
Copy link
Author

I'm still wondering whether zola can do anything to make this less painful, as porting KaTeX rendering to every theme is quite a lot of duplication. This is okay now, but updating will be a major PITA. A solution where zola inserts these would be a lot better IMO.

The generalized version of this still holds true though, if you take other client side rendering extensions, like mermaidjs for example.

@c-git
Copy link

c-git commented Dec 4, 2023

I'm trying to add some latex to my page and would prefer not use images. I'm a bit confused what the viable options are (other than images, which is my current fall back). I see katex has a wasm option now. I don't know how long they've had that. I'm mostly asking if anyone already knows before I keep digging.

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.

3 participants