Skip to content

Commit 34792b3

Browse files
committed
enable $ for mathjax on assignment page
1 parent 0e1fdc2 commit 34792b3

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

bases/rsptx/web2py_server/applications/runestone/views/_sphinx_static_files.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
var runestoneMathReady = new Promise((resolve) => window.rsMathReady = resolve);
7272
window.MathJax = {
7373
tex: {
74-
inlineMath: [['\\(','\\)'],['$','$']],
74+
inlineMath: [['\\(','\\)'], ['$','$']],
7575
tags: "none",
7676
tagSide: "right",
7777
tagIndent: ".8em",

components/rsptx/templates/common/static_assets.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
var runestoneMathReady = new Promise((resolve) => window.rsMathReady = resolve);
4646
window.MathJax = {
4747
tex: {
48-
inlineMath: [['\\(','\\)']],
48+
inlineMath: [['\\(','\\)'], ['$','$']],
4949
tags: "none",
5050
tagSide: "right",
5151
tagIndent: ".8em",

components/rsptx/templates/common/static_assets_min.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
var runestoneMathReady = new Promise((resolve) => window.rsMathReady = resolve);
3333
window.MathJax = {
3434
tex: {
35-
inlineMath: [['\\(','\\)']],
35+
inlineMath: [['\\(','\\)'], ['$','$']],
3636
tags: "none",
3737
tagSide: "right",
3838
tagIndent: ".8em",

0 commit comments

Comments
 (0)