Skip to content

Commit

Permalink
Add MathJax support for rendering mathematical equations in the book.
Browse files Browse the repository at this point in the history
MathJax is now included as a script in the HTML file, allowing mathematical equations to be rendered properly. This change adds the necessary code to include MathJax and configure it for LaTeX math rendering.
  • Loading branch information
awesome-doge committed Jan 4, 2024
1 parent a2698a3 commit 857757b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions book.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@
:icons: font
:source-highlighter: rouge
:pdf-fontsdir: .
:stem: latexmath

++++
<script type="text/javascript" async
src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/3.2.0/es5/tex-mml-chtml.min.js">
</script>
++++

include::preface.asciidoc[]
include::glossary.asciidoc[]
Expand Down

0 comments on commit 857757b

Please sign in to comment.