Skip to content
Snippets Groups Projects
Commit 76435b99 authored by Maciej Topyla's avatar Maciej Topyla
Browse files

Merge branch 'enablingsearch' into 'master'

Make mathjax default render switch to CommonHTML - enabling x-scroll on overflow on mobile

See merge request !36
parents 363177bc a8826a14
No related branches found
No related tags found
1 merge request!36Make mathjax default render switch to CommonHTML - enabling x-scroll on overflow on mobile
Pipeline #121502 passed
MathJax.Hub.Config({
jax: ["input/TeX", "output/SVG"],
jax: ["input/TeX", "output/CommonHTML" , "output/SVG"],
tex2jax: {
inlineMath: [ ['$','$'] ],
processEscapes: true
......
.mjx-chtml {
overflow-x: auto; /* Horizontally scroll long equations. */
overflow-y: hidden;
}
......@@ -53,9 +53,10 @@ markdown_extensions:
extra_css:
- 'https://use.fontawesome.com/releases/v5.8.1/css/all.css'
- 'styles/mathjax_overflowfix.css'
extra_javascript:
- 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-AMS_SVG'
- 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-AMS_CHTML'
- 'scripts/mathjaxhelper.js'
copyright: "Copyright © 2019-2022 Delft University of Technology, CC-BY-SA 4.0."
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment