Note

Reference: Configuration, Comments.

Configuration

config: provider: - comment provider; supported: giscus options: repo: - GitHub repository repoId: - GitHub repository ID category: - discussion category categoryId: - discussion category ID lang: - language - default: en themeUrl: - custom themes directory URL lightTheme: - light theme CSS filename - default: light darkTheme: - dark theme CSS filename - default: dark mapping: - page-to-discussion mapping - default: url strict: - strict title matching - default: true reactionsEnabled: - main post reactions - default: true inputPosition: - input box position: top/bottom - default: bottom

Default options

quartz.config.yaml
- source: github:quartz-community/comments
  enabled: true
  options:
    provider: giscus
    options:
      repo: jackyzha0/quartz
      repoId: MDEwOlJlcG9zaXRvcnkzODcyMTMyMDg
      category: Announcements
      categoryId: DIC_kwDOFxRnmM4B-Xg6
      lang: en

API

api: category: - Component function: - ExternalPlugin.Comments() source: - quartz-community/comments install: - npx quartz plugin add github:quartz-community/comments