How to use MathJax and Giscus with privacy plugin #3641
-
Hi,
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Thanks for asking. I've checked MathJax and yes, it does not correctly work due to the use of non-qualified URLs to resolve Please open an issue for the problem with Giscus, describing what does not work correctly. The solution is likely to exclude Giscus from processing with the privacy plugin. I'm thinking of adding exclude patterns, so this can be configured via Edit: it appears that self-hosting Giscus is possible, but requires more than just copying assets: |
Beta Was this translation helpful? Give feedback.
Thanks for asking. I've checked MathJax and yes, it does not correctly work due to the use of non-qualified URLs to resolve
*.js
and*.woff
files. Thus, for MathJax, the solution is to download the JavaScript and additional assets manually. Sadly this can not be fixed, because we can't execute the JavaScript to generate the full URLs during the build process.Please open an issue for the problem with Giscus, describing what does not work correctly. The solution is likely to exclude Giscus from processing with the privacy plugin. I'm thinking of adding exclude patterns, so this can be configured via
mkdocs.yml
.Edit: it appears that self-hosting Giscus is possible, but requires more than j…