Full-text search functionality.

Note

For information on how to add, remove or configure plugins, see the 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

quartz.config.yaml
- 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