docs: add missing options to component and page type plugin documentation
- Graph: add focusOnHover and numeric defaults for all D3Config options - Search: add enablePreview and fieldPriority options - TableOfContents: add layout component option - FolderPage: add showFolderCount and showSubfolders options - TagPage: add numPages option - BasesPage: add linkResolution option
This commit is contained in:
@@ -16,13 +16,20 @@ See [[full-text search]] for detailed usage information.
|
||||
|
||||
This plugin accepts the following configuration options:
|
||||
|
||||
- `enabled`: Whether to enable full-text search. Defaults to `true`.
|
||||
- `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
|
||||
|
||||
```yaml title="quartz.config.yaml"
|
||||
- source: github:quartz-community/search
|
||||
enabled: true
|
||||
options:
|
||||
enablePreview: true
|
||||
fieldPriority:
|
||||
- title
|
||||
- content
|
||||
- tags
|
||||
```
|
||||
|
||||
## API
|
||||
|
||||
Reference in New Issue
Block a user