mirror of
https://github.com/jackyzha0/quartz.git
synced 2026-03-21 21:45:42 -05:00
1.8 KiB
1.8 KiB
| title | tags | |
|---|---|---|
| Comments |
|
Comment system (giscus, utterances, etc.).
Note
For information on how to add, remove or configure plugins, see the configuration#Plugins page.
See comments for detailed usage information.
Configuration
This plugin accepts the following configuration options:
provider: The comment provider to use. Currently onlygiscusis supported.options: Provider-specific options.repo: The GitHub repository to use for comments.repoId: The ID of the GitHub repository.category: The discussion category to use.categoryId: The ID of the discussion category.lang: The language for the comment system. Defaults toen.themeUrl: URL to a folder with custom themes.lightTheme: Filename for the light theme CSS file. Defaults tolight.darkTheme: Filename for the dark theme CSS file. Defaults todark.mapping: How to map pages to discussions. Defaults tourl.strict: Use strict title matching. Defaults totrue.reactionsEnabled: Whether to enable reactions for the main post. Defaults totrue.inputPosition: Where to put the comment input box relative to the comments. Defaults tobottom.
Default options
- 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
- Category: Component
- Function name:
ExternalPlugin.Comments(). - Source:
quartz-community/comments - Install:
npx quartz plugin add github:quartz-community/comments