https://katex.org/ #KaTeX #DependencyFree #WebTech #HackerNews #ngated
KaTeX โ The fastest math typesetting library for the web
#HackerNews #KaTeX #MathTypesetting #Web #Library #Fastest #Typesetting
New blog post: Formatting maths in Eleventy with KaTeX
Considering to join a lemmy instance not the least because it says "you can also blog on lemmy" (https://join-lemmy.org/docs/users/06-other-features.html?highlight=blog#lemmy-as-a-blog) I have one question though:
Can I have MathJax or KaTeX to do formulas?
@fractalkitty I have an update to this: I switched from the MarkdownIt KaTeX (https://mdit-plugins.github.io/katex.html) plugin to the MathJax (https://mdit-plugins.github.io/mathjax.html) one, and so far it looks like it's working! This is in Eleventy, with the LaTeX math expressions embedded in Markdown.
While KaTeX includes the "output" option (https://katex.org/docs/options) to do HTML, MathML, or both (default: both), the plugin doesn't seem to expose that option, and since the MathJax one does just MathML, it looks right for me in NetNewsWire (macOS) and CapyReader (Android).
The post is here (https://reillyspitzfaden.com/posts/2025/06/reverb-part-1/) and the feed is here (https://reillyspitzfaden.com/blog/feed.xml), and I'd be interested to hear if it's working for other people.
Hello Mathstodon.
Any recommendations for RSS feeds when dealing with KATEX?
What do you do?
Stick with dollar signs in the post?
Make them into images?
Put a note at the top?
Other?
@reillypascal brought this up in Indie Web Camp's Homebrew today.
Switched from MathJax to KaTeX for rendering mathematical snippets on my website. Everything looks good so far. Equation referencing works too, after some minor customisations.
Example: https://susam.net/integrating-factor.html
Customisations: https://github.com/susam/susam.net/blob/main/layout/include/math.inc
@mekeor @quincy I wish I could figure out how to let forgejo/codeberg render math formula of TeX/LaTeX/MathJax/KaTeX whatever in org-mode files.
But there seems to be a clash: I faintly remember a Codeberg issue saying no to MathJax in every delivered HTML and instead it has KaTeX server-side rendering, whereas the org-mode manual talks about MathJax explicitly.
Nice Christmas gift: MathJax in Markdown on Codeberg.
https://codeberg.org/harald/Codeschnipselnotizen/src/branch/main/MathJaxTryout.md
**Except:** when I look at the page's HTML code, there is no MathJax. There is katex, which seems to do something similar. ๐
Anyway, as long as a (La)TeX manual or the amsldoc https://texdoc.org/serve/amsldoc/0 suffices to get the math typed, all is fine :-)
(I am sure that not long ago I saw an open issue discussing MathJax in Markdown. Can't find it anymore.)