Skip to content

Commit 6814d2e

Browse files
committed
Fix katex rendering of vector arrows.
1 parent d0650ea commit 6814d2e

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

sphinx-doc/_static/fix-katex.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
.katex .overlay {
2+
background-color: transparent;
3+
opacity: 1;
4+
position: static;
5+
transition: all 0s ease 0s;
6+
}

sphinx-doc/conf.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,7 @@
3535
if find_spec("sphinxcontrib.katex") is not None:
3636
extensions.append("sphinxcontrib.katex")
3737

38-
katex_options = r"""{
39-
output: 'mathml',
40-
}"""
38+
html_css_files = ['fix-katex.css']
4139
else:
4240
extensions.append("sphinx.ext.mathjax")
4341

0 commit comments

Comments
 (0)