feat(search): add snippetLength config for search results (#296)
This commit is contained in:
@@ -232,6 +232,8 @@ Please open the code block below to view the complete sample configuration :(far
|
||||
placeholder = ""
|
||||
# {{< version 0.2.1 >}} max number of results length
|
||||
maxResultLength = 10
|
||||
# {{< version 0.2.3 >}} snippet length of the result
|
||||
snippetLength = 30
|
||||
# {{< version 0.2.1 >}} HTML tag name of the highlight part in results
|
||||
highlightTag = "em"
|
||||
[params.search.algolia]
|
||||
@@ -984,6 +986,8 @@ Here is the search configuration in your [site configuration](#site-configuratio
|
||||
placeholder = ""
|
||||
# {{< version 0.2.1 >}} max number of results length
|
||||
maxResultLength = 10
|
||||
# {{< version 0.2.3 >}} snippet length of the result
|
||||
snippetLength = 30
|
||||
# {{< version 0.2.1 >}} HTML tag name of the highlight part in results
|
||||
highlightTag = "em"
|
||||
[params.search.algolia]
|
||||
|
||||
Reference in New Issue
Block a user