Skip to content

Commit b4dc5b1

Browse files
committed
Use default mathjax location because setting it to anything else seems to break rmarkdown.
Fixes r-universe-org/help#619
1 parent a7f40a7 commit b4dc5b1

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

R/articles.R

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ r_universe_format <- function(){
3737
toc = TRUE,
3838
toc_depth = 2,
3939
theme = NULL,
40-
mathjax = NULL,
4140
highlight = 'pygments',
4241
template = template_file('template.html'),
4342
includes = rmarkdown::includes(

inst/rmd-template/template.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@
3636

3737
<!-- Mathjax -->
3838
<!-- <script src="https://polyfill.io/v3/polyfill.min.js?features=es6" data-external="1"></script> -->
39-
<script id="MathJax-script" async src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/3.1.2/es5/tex-mml-chtml.min.js" data-external="1"></script>
39+
<script id="MathJax-script" async src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/4.0.0/tex-mml-chtml.min.js" data-external="1"></script>
4040
</body>
4141
</html>

0 commit comments

Comments
 (0)