Skip to content

Commit

Permalink
CP2K Docs (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
RMeli authored Feb 26, 2025
1 parent 13d88b8 commit 8368eb3
Show file tree
Hide file tree
Showing 4 changed files with 487 additions and 7 deletions.
19 changes: 19 additions & 0 deletions docs/javascripts/mathjax.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
window.MathJax = {
tex: {
inlineMath: [["\\(", "\\)"]],
displayMath: [["\\[", "\\]"]],
processEscapes: true,
processEnvironments: true
},
options: {
ignoreHtmlClass: ".*|",
processHtmlClass: "arithmatex"
}
};

document$.subscribe(() => {
MathJax.startup.output.clearCache()
MathJax.typesetClear()
MathJax.texReset()
MathJax.typesetPromise()
})
Loading

0 comments on commit 8368eb3

Please sign in to comment.