💾 Archived View for dioskouroi.xyz › thread › 29440524 captured on 2021-12-04 at 18:04:22. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
________________________________________________________________________________
This just embeds an image from a third-party commercial service
. I don’t think this is a good idea. The “Buy Now” link on that site even 404s; I seriously doubt the longevity of that service.
Just use Pandoc with good old KaTeX or MathJax. The CDN builds will last way longer than this commercial service, and you have the option of self-hosting everything.
Edit: I didn't see the author's comment here. Apparently it's meant for environments where you aren't allowed to include your own JavaScript. In that case it's probably a good idea to prerender the images and include them alongside if you can.
These days it's becoming standard for any markdown converter to support katex/mathjax. For instance, markdown-it has markdown-it-katex. Dump your markdown with equations directly inside your html file and have it do the conversion. Or this:
https://github.com/susam/texme
Does it work on Github markdown ? (I made the tool back in 2019 mainly because I couldn't render latex in the render of the readme.md on Github)
Hello! I am the author of TeXMe[1].
Congratulations on launching a working project and running it successfully for the past few years. It is always nice to see new projects pertaining to rendering mathematics on the web.
TeXMe does support GitHub Flavored Markdown (GFM)[2] when used in standalone HTML files. It however does not support your use case of rendering equations in GitHub README.md files. If TeXMe seems interesting, I would also request you to take a look at Muboard[4] which is a live, interactive, self-rendering mathematics chalkboard for the web built with TeXMe.[4]
[1]
https://github.com/susam/texme
[2]
[3]
[4]
Hi, I saw textme uses html and imports js, but does this work in static .md (to be parsed by Github as README.md) ? I only saw .html example in the docs.
Not really, LaTeX is only supported in ipynb on GitHub AFAIK. The submission title is too generic though.
When I converted my CV from Word back in 2013, I went straight to Tex. A local install of MacTex or BasicTex will outlast all of this and works entirely offline from the start.
If I hadn't gotten so far along with my conversion, I might have even dropped down to groff/troff and used TeX as an intermediate step.
That's precisely what I did too about a decade or so ago when I decided to move away from Microsoft Word to write my CV. I used LaTeX. Back then I began using strictly free and open source software only, so I usually had texlive-latex-installed on my Debian GNU/Linux systems to compile my CV. These days, I just use BasicTeX on macOS.
As an alternative, something that I've put together in the past for personal notes / documents. It also covers LaTeX (and TIKZ) inside Markdown and leverages Pandoc.
https://github.com/W4RH4WK/Dogx
It contains a Pandoc filter that pulls out the LaTeX code, generates an SVG that gets embedded into the resulting HTML document.
I'm the author of the tool, I hope this will be useful to some of you in case you need to put mathematical formulas in your README.md
Nice. There are unescaped ()'s in the URL, will this work correctly?
It's seems to work with the parenthesis as is.
In all markdown parsers?
Is codecogs ok with you using their free service this way?
Which packages does it support? I tried \cancel and it works :)
I don't really know, it's built over the latex.codecogs.com web services.