Skip to content

Commit

Permalink
solve math rendering issue
Browse files Browse the repository at this point in the history
  • Loading branch information
bblodfon committed Nov 26, 2024
1 parent c16f587 commit f51f992
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
url: https://bblodfon.github.io/fastVoteR/
template:
bootstrap: 5
# solve temporarily math rendering issue: https://github.com/r-lib/pkgdown/issues/2704
# TODO: Check and remove when above issue is resolved
includes:
in_header: |
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/katex.min.css" integrity="sha384-nB0miv6/jRmo5UMMR1wu3Gz6NLsoTkbqJghGIsx//Rlm+ZU03BU6SQNC66uf4l5+" crossorigin="anonymous">
<script defer src="https://cdn.jsdelivr.net/npm/[email protected]/dist/katex.min.js" integrity="sha384-7zkQWkzuo3B5mTepMUcHkMB5jZaolc2xDwL6VFqjFALcbeS9Ggm/Yr2r3Dy4lfFg" crossorigin="anonymous"></script>
<script defer src="https://cdn.jsdelivr.net/npm/[email protected]/dist/contrib/auto-render.min.js" integrity="sha384-43gviWU0YVjaDtb/GhzOouOXtZMP/7XUzwPTstBeZFe/+rCMvRwr4yROQP43s0Xk" crossorigin="anonymous" onload="renderMathInElement(document.body);"></script>
light-switch: true
math-rendering: mathjax

0 comments on commit f51f992

Please sign in to comment.