See https://squidfunk.github.io/mkdocs-material/setup/adding-a-comment-system/ I tried this months ago but couldn't make it work -- worth trying it now with the latest Material for MkDocs version.