mirror of
https://github.com/snachodog/just-the-docs.git
synced 2025-09-13 05:13:33 -06:00
Multi search match highlight
Added multiple previews, configurable by site.search.previews Improved search-data.json
This commit is contained in:
@@ -40,6 +40,9 @@ search:
|
||||
# Split documents into sections that can be individually searched
|
||||
# Supports 1 - 6, default: 2
|
||||
heading_level: 2
|
||||
# Maximum amount of previews to display
|
||||
# Default: 3
|
||||
previews: 3
|
||||
# Maximum amount of words to display before a matched word in the preview
|
||||
# Default: 5
|
||||
preview_words_before: 5
|
||||
|
Reference in New Issue
Block a user