-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Latex Math Equation rendering problem #120
Comments
Put a HTML head tag at the top of the markdown file that looks like this:
Insert katex equations enclosed with double dollar signs. In _config.yml add
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Put the MathJax tags inside the <script type="text/x-mathjax-config">
MathJax.Hub.Config({
extensions: ["tex2jax.js"],
tex2jax: {
inlineMath: [ ['$','$'], ["\\(","\\)"] ],
processEscapes: true,
processRefs: true,
processEnvironments: true
},
TeX: { equationNumbers: { autoNumber: "AMS" } }
});
</script>
<script type="text/javascript" async
src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
</script> In markdown: kramdown
kramdown:
math_engine: mathjax |
How to add support for rendering latex math equations ?
I tried
markdown: kramdown
/mathjax:true
/katex:true
but nothing seems to work .What is the correct way to achieve this ?
The text was updated successfully, but these errors were encountered: