Open sakgoyal opened 2 years ago
Could you please support Latex?
Also in need of latex.
Just figure out how to add latex quickly. Got help from this post.
In the markdown file that requires latex, add this code after the front matter:
---
title: some title
tags: [some tags]
style: fill
color: primary
description: some description
---
<script>
MathJax = {
tex: {
inlineMath: [['$', '$'], ['\\(', '\\)']]
}
};
</script>
<script type="text/javascript" id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js">
</script>
# Write some latex here. It should appear normal now.
I wonder if its possible to add support for katex math rendering. markdown is quite limited and I really want a way to be able to display math properly. Im going to be writing up blog posts on lots of math heavy topics so being able to render equations is extremely useful. I would strongly perfer to avoid javascript if possible. I want the least amount of js possible on my site.