Closed sbamin closed 2 years ago
Thanks for suggesting. Comment systems are integrated through customization, so there's nothing to be done on our end. You can use custom front matter to customize the appearance or put configuration under the extra
key in mkdocs.yml
as you already did.
Converting to discussion.
Contribution guidelines
I want to suggest an idea and checked that ...
Description
I have enabled giscus based commenting as per https://squidfunk.github.io/mkdocs-material/setup/adding-a-comment-system/?h=giscus#giscus-integration Given giscuss is based on github discussions (beta), I prefer to use more stable, github issues api for my website commenting framework. I can enable commenting using https://utteranc.es/ using following code in
content
block after{{ super() }}
in overrides/main.html file. While this works without an issue for a default theme (light in my case), toggling to alternate (dark) theme does not handle theme change for comment frame. I suspect an issue withdocument.addEventListener
in my code and wish it can be fixed.Thanks!
and my mkdocs.yml contains following under extra config:
Use Cases
Let users select either github issue or discussion based commenting system. Given github issues api is stable than github discussions and giscus app (beta), enabling issue-based commenting may be less prone to breaking changes.
Screenshots / Mockups
not applicable