mirror of
https://github.com/quartz-community/reader-mode.git
synced 2026-07-22 02:50:23 +00:00
docs: update README for v5 unified config system
This commit is contained in:
parent
de7fa4934d
commit
d81120f30b
1 changed files with 9 additions and 7 deletions
16
README.md
16
README.md
|
|
@ -10,12 +10,14 @@ npx quartz plugin add github:quartz-community/reader-mode
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```ts
|
```yaml title="quartz.config.yaml"
|
||||||
// quartz.layout.ts
|
plugins:
|
||||||
import * as Plugin from "./.quartz/plugins";
|
- source: github:quartz-community/reader-mode
|
||||||
|
enabled: true
|
||||||
// Add to your layout
|
layout:
|
||||||
Plugin.ReaderMode(); // in the appropriate layout section
|
position: left
|
||||||
|
priority: 35
|
||||||
|
group: toolbar
|
||||||
```
|
```
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
@ -24,7 +26,7 @@ This plugin has no configuration options.
|
||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
See the [Quartz documentation](https://quartz.jzhao.xyz/) for more information.
|
See the [Quartz documentation](https://quartz.jzhao.xyz/features/reader%20mode) for more information.
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue