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.4 KiB
1.4 KiB
title, description, tags, image, repository, enabled, required
| title | description | tags | image | repository | enabled | required | |
|---|---|---|---|---|---|---|---|
| ContentMeta | Displays the page date and reading time. |
|
[quartz-community/content-meta](https://github.com/quartz-community/content-meta) | true | false |
This plugin displays content metadata below the article title: the page's date and the estimated reading time.
The date shown is the one selected by the defaultDateType option of CreatedModifiedDate (modified by default), so no date is shown when that plugin is disabled. Pages without text content show no metadata.
Note
For information on how to add, remove or configure plugins, see the configuration#Plugins page.
Configuration
This plugin accepts the following configuration options:
showReadingTime: Whether to display the estimated reading time. Defaults totrue.showComma: Whether to display a comma between metadata items. Defaults totrue.
Default options
- source: "@quartz-community/content-meta"
enabled: true
options:
showReadingTime: true
showComma: true
layout:
position: beforeBody
priority: 20
API
- Category: Component
- Function name:
ExternalPlugin.ContentMeta(). - Source:
quartz-community/content-meta - Install:
npx quartz plugin add @quartz-community/content-meta