mirror of
https://github.com/jackyzha0/quartz
synced 2026-11-27 22:14:40 +01:00
Audit of the docs against 5.1 (release notes, core source, plugins) and fixes: - getting-started: 5.0 → 5.1 upgrade section (plugin doctor --fix, line breaks, heading ids, Bases 1.2, permalinks, frontmatter, CI, GFM before OFM), New in 5.1, git pull upstream v5, no redundant install steps - advanced: new plugin manifest reference (dependencies, defaultOrder, configSchema/optionSchema, deprecated, components…), making plugins (BuildCtx, emitters, page types, peer dependencies, imports), creating components (./components subpath, script loading, render/prefetch contract), capabilities, architecture, paths - cli: --directory is the content folder; build/sync flags and behaviour (sync force-pushes); plugin add from npm - configuration, layout, features and plugin pages: nested colors, built-ins, wikilinks/heading anchors, Obsidian compatibility (OFM 2.0), correct defaults and options, Bases 1.2, stacked pages, og-image v5 API; new pages for Excalidraw, TTRPG maps and themes
1.2 KiB
1.2 KiB
title, description, tags, image, new-in-v5, repository, enabled, required
| title | description | tags | image | new-in-v5 | repository | enabled | required | |
|---|---|---|---|---|---|---|---|---|
| ReaderMode | Distraction-free reading mode toggle. |
|
true | [quartz-community/reader-mode](https://github.com/quartz-community/reader-mode) | true | false |
Distraction-free reading mode.
Note
For information on how to add, remove or configure plugins, see the configuration#Plugins page.
See reader mode for detailed usage information.
Configuration
This plugin has no options. Use the entry's enabled field to turn it on or off, and layout to place the toggle button.
On layout#Per-page-type overrides the default config leaves the button out (layout.byPageType.folder.exclude: [reader-mode]).
Default options
- source: "@quartz-community/reader-mode"
enabled: true
layout:
position: left
priority: 35
group: toolbar
API
- Category: Component
- Function name:
ExternalPlugin.ReaderMode(). - Source:
quartz-community/reader-mode - Install:
npx quartz plugin add @quartz-community/reader-mode(included in the default configuration)