Skip to content
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

Add math #314

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add math #314

wants to merge 1 commit into from

Conversation

73jn
Copy link

@73jn 73jn commented Mar 8, 2023

Possibility to export mathematical functions. Closes #276, #237

@@ -18,3 +18,7 @@
{{{content}}}
</body>
</html>
<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

template/template.html

@VVsxmja
Copy link

VVsxmja commented Apr 11, 2023

You can enable automatic linebreaking↙️ to avoid overflow when a math expression is too long.

<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js"],
    tex2jax: {
      inlineMath: [ ['$','$'] ],
      displayMath: [ ['$$','$$'] ],
    },
    "CommonHTML": { linebreaks: { automatic: true } },
    "HTML-CSS": { linebreaks: { automatic: true } },
  });
</script>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Math support
3 participants