Skip to content

Commit

Permalink
For #56: add temporary fix for math rendering in pkgdown
Browse files Browse the repository at this point in the history
  • Loading branch information
bschneidr authored Oct 25, 2024
1 parent a5b20d2 commit 8ed739e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion _pkgdown.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
url: https://ncn-foreigners.github.io/nonprobsvy/
template:
bootstrap: 5

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>

0 comments on commit 8ed739e

Please sign in to comment.