markdown-it-texmath
Support TeX math equations with your Markdown documents. (by goessner)
MathJax-src
MathJax source code for version 3 and beyond (by mathjax)
markdown-it-texmath | MathJax-src | |
---|---|---|
2 | 5 | |
146 | 1,958 | |
- | 0.9% | |
1.9 | 0.0 | |
about 1 month ago | 8 days ago | |
HTML | TypeScript | |
MIT License | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
markdown-it-texmath
Posts with mentions or reviews of markdown-it-texmath.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-06-28.
-
Math on GitHub: Following Up
Github's implementation is really lazy. There are many much better approaches to precisely this problem. E.g., Jupyter notebooks implement one that has matured in the wild over a decade. There's this very flexible markdown-it plugin that implements anther https://github.com/goessner/markdown-it-texmath, and my version of it here https://github.com/sagemathinc/cocalc/blob/master/src/packag... which I rewrote in typescript with a focus on the same semantics as Jupyter has, but for CoCalc, and I've been working on using unifiedjs to provide more general latex for Markdown (not just formulas) here https://github.com/sagemathinc/cocalc/pull/5982 Parsing math is much easier if you use a plugin to an existing markdown parser, rather than trying to do some hack outside of that (which is what Github probably does, and also what Jupyter does).
-
Math on GitHub: The Good, the Bad and the Ugly
If you use a proper markdown plugin to parse math instead (such as https://github.com/goessner/markdown-it-texmath), then the problems pointed out in this blog post go away.
MathJax-src
Posts with mentions or reviews of MathJax-src.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-12-13.
- MathJax v4.0.0-Alpha.1
-
What is the latest MathJax?
I am using MathJax from Emacs org-mode and it is grabbing MJ 3 from https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js In Emacs I supposedly have configuration options to get, for example, the LaTeX Euler font -- or a few others. But it doesn't seem to work. I inspect my web page output and I see a CSS class MJX-TEX, and it's CSS breakdown is .MJX-TEX { font-family: MJXZERO, MJXTEX; } Good. I think I can simply go into my own CSS and change something with the font family. But I wouldn't know what to. I found this code where it seems to have a long list of "font families" but I have no idea what they are or how to change the above CSS font-family tag. I read that 3 doesn't allow changing fonts. Is that still true? Any knowledge on how to handle/change fonts appreciated.
-
Math on GitHub: The Good, the Bad and the Ugly
One thing that the article gets wrong is accusing mathjax of being abandoned. Development has moved to a new repo for the next version.
https://github.com/mathjax/MathJax-src/graphs/contributors
- I created a (Linux) script to easily type Unicode math everywhere.
-
Centering text in obsidian
Obsidian uses MathJax for their LaTeX integration, so it will auto center without using any of the formatting syntax. You only need to put in your equations and it will format automatically.
What are some alternatives?
When comparing markdown-it-texmath and MathJax-src you can also consider the following projects:
Franklin.jl - (yet another) static site generator. Simple, customisable, fast, maths with KaTeX, code evaluation, optional pre-rendering, in Julia.
marktext - 📝A simple and elegant markdown editor, available for Linux, macOS and Windows.
KeenWrite - Free, open-source, cross-platform desktop Markdown text editor with live preview, string interpolation, and math.
latex-input - Enter Unicode characters using LaTeX notation
cocalc - CoCalc: Collaborative Calculation in the Cloud
jupyter-renderers - Renderers and renderer extensions for JupyterLab