Skip to content

Commit 996d958

Browse files
committed
Updated mathjax
1 parent ede3e9c commit 996d958

3 files changed

Lines changed: 5 additions & 11 deletions

File tree

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: pkgdownconfig
22
Title: Stan pkgdown Website Styling
3-
Version: 2.1.0
3+
Version: 2.3.0
44
Authors@R:
55
person("Visruth", "Srimath Kandali", , "public@visruth.com", role = c("aut", "cre"),
66
comment = c(ORCID = "0009-0005-9097-0688"))

inst/pkgdown/templates/head.html

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,9 @@
2727

2828
{{#uses_mathjax}}
2929
<!-- mathjax math -->
30-
<script src="https://cdn.jsdelivr.net/npm/mathjax@3.2.2/es5/tex-mml-chtml.js"
31-
integrity="sha256-MASABpB4tYktI2Oitl4t+78w/lyA+D7b/s9GEP0JOGI=" crossorigin="anonymous"></script>
32-
<script>
33-
window.MathJax = {
34-
chtml: {
35-
fontURL: "https://cdn.jsdelivr.net/npm/mathjax@3.2.2/es5/output/chtml/fonts/woff-v2"
36-
}
37-
};
38-
</script>
30+
<script id="MathJax-script" defer src="https://cdn.jsdelivr.net/npm/mathjax@4.0.0/tex-mml-chtml.js"
31+
integrity="sha256-qoRlVrS5NAnXSSSiMfFXwK8C9obG11Iybe4h2+bQYR4=" crossorigin="anonymous">
32+
</script>
3933
{{/uses_mathjax}}
4034

4135
{{#lightswitch}}

vignettes/Example.rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,4 @@ $K$ predictors, $\mathbf{X}$ is a $N \times K$ matrix of _centered_ predictors,
4545
$\mathbf{y}$ is a $N$-vector of outcomes and $\overline{y}$ is the sample mean
4646
of the outcome.
4747

48-
Boldsymbol should render, i.e. this should render properly: $\boldsymbol{\beta}$ and not error out.
48+
Boldsymbol should render, i.e. this should render properly: $\boldsymbol{\beta}$ vs $\beta$ and not error out.

0 commit comments

Comments
 (0)