A custom fork of Quartz to generate my Digital Garden site
arbor docs plugins Search.md
1.3 kB · 44 lines
Markdown
at v5


title: Search description: Full-text search with tag filtering and keyboard navigation. tags:


Full-text search functionality.

Note

For information on how to add, remove or configure plugins, see the [[configuration#Plugins|Configuration]] page.

See [[full-text search]] for detailed usage information.

Configuration #

This plugin accepts the following configuration options:

  • enablePreview: Whether to show a preview of the page content in search results. Defaults to true.
  • fieldPriority: An array specifying the priority order for search fields. Defaults to ["title", "content", "tags"].

Default options #

- source: github:quartz-community/search
  enabled: true
  options:
    enablePreview: true
    fieldPriority:
      - title
      - content
      - tags

API #

  • Category: Component
  • Function name: ExternalPlugin.Search().
  • Source: quartz-community/search
  • Install: npx quartz plugin add github:quartz-community/search