Skip to content

Commit

Permalink
doc: render math with HTML to make it selectable (fix haskell#8453) (h…
Browse files Browse the repository at this point in the history
…askell#9361)

* doc: render math with HTML to make it selectable (fix haskell#8453)

* Update doc/conf.py

Co-authored-by: Bryan Richter <bryan@haskell.foundation>

---------

Co-authored-by: Bryan Richter <bryan@haskell.foundation>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored and alt-romes committed Nov 30, 2023
1 parent d1fdf56 commit 1c6c3d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@
# Output file base name for HTML help builder.
htmlhelp_basename = 'CabalUsersGuide'

# MathJax to use SVG rendering by default
mathjax_path = 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/latest.js?config=TeX-AMS-MML_SVG'
# MathJax to use HTML rendering by default (makes the text selectable, see #8453)
mathjax_path = 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/latest.js?config=TeX-AMS_CHTML'


# -- Options for LaTeX output ---------------------------------------------
Expand Down

0 comments on commit 1c6c3d0

Please sign in to comment.