diff --git a/docs/search.md b/docs/search.md index 1a627d230396590c5ef361854958fc0389b3bf44..74b398f3c57cd96365d3bb77b739d12d4249fbab 100644 --- a/docs/search.md +++ b/docs/search.md @@ -59,12 +59,12 @@ In your site's `_config.yml`, enable search: search_enabled: true ``` -The default is for hyphens to separate tokens in search terms: -`gem-based` is equivalent to `gem based`, matching either word. -To allow search for hyphenated words: +The default is for hyphens to separate tokens in search terms: +`gem-based` is equivalent to `gem based`, matching either word. +To allow search for hyphenated words: -```yaml -# Set the search token separator +```yaml +# Set the search token separator search_tokenizer_separator: /[\s/]+/ ```