docs: update README for v5 unified config system

This commit is contained in:
saberzero1 2026-02-25 16:07:11 +01:00
parent 56fcd95ba7
commit 8c56820610
No known key found for this signature in database

View file

@ -10,12 +10,14 @@ npx quartz plugin add github:quartz-community/darkmode
## Usage
```ts
// quartz.layout.ts
import * as Plugin from "./.quartz/plugins";
// Add to your layout
Plugin.Darkmode(); // in the appropriate layout section
```yaml title="quartz.config.yaml"
plugins:
- source: github:quartz-community/darkmode
enabled: true
layout:
position: left
priority: 30
group: toolbar
```
## Configuration
@ -24,7 +26,7 @@ This plugin has no configuration options.
## Documentation
See the [Quartz documentation](https://quartz.jzhao.xyz/) for more information.
See the [Quartz documentation](https://quartz.jzhao.xyz/features/darkmode) for more information.
## License