Skip to content

Commit

Permalink
Merge pull request #90 from carpentries/fix-mathjax-88
Browse files Browse the repository at this point in the history
allow inline text with dollarsigns to be not mathed
  • Loading branch information
zkamvar authored Aug 25, 2023
2 parents 0549112 + e7ceaf4 commit 5b774a7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: varnish
Title: Front-end for The Carpentries Lesson Template
Version: 0.2.17
Version: 0.2.18
Authors@R: c(
person(given = "Zhian N.",
family = "Kamvar",
Expand Down
5 changes: 5 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# varnish 0.2.18

* Non-math elements on the same line will no longer be treated as math
(reported: @marklcrowe, #88; fixed: @zkamvar, #90)

# varnish 0.2.17

* The margin below the schedule table in instructor view is now 25px instead of
Expand Down
2 changes: 1 addition & 1 deletion inst/pkgdown/templates/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
extensions: ["AMSmath.js","AMSsymbols.js","noErrors.js","noUndefined.js"]
},
tex2jax: {
inlineMath: [ ['$','$'], ['\\(', '\\)']],
inlineMath: [['\\(', '\\)']],
displayMath: [ ['$$','$$'], ['\\[', '\\]'] ],
processEscapes: true
}
Expand Down

0 comments on commit 5b774a7

Please sign in to comment.