You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Split pages into sections that can be searched individually
26
+
# Supports 1 - 6, default: 2
27
+
heading_level: 2
28
+
# Maximum amount of previews per search result
29
+
# Default: 3
30
+
previews: 2
31
+
# Maximum amount of words to display before a matched word in the preview
32
+
# Default: 5
33
+
preview_words_before: 3
34
+
# Maximum amount of words to display after a matched word in the preview
35
+
# Default: 10
36
+
preview_words_after: 3
37
+
# Set the search token separator
38
+
# Default: /[\s\-/]+/
39
+
# Example: enable support for hyphenated search words
40
+
tokenizer_separator: /[\s/]+/
41
+
# Display the relative url in search results
42
+
# Supports true (default) or false
43
+
rel_url: true
44
+
# Enable or disable the search button that appears in the bottom right corner of every page
45
+
# Supports true or false (default)
46
+
button: false
47
+
# Focus the search input by pressing `ctrl + focus_shortcut_key` (or `cmd + focus_shortcut_key` on macOS)
48
+
focus_shortcut_key: "k"
49
+
50
+
# For copy button on code
51
+
enable_copy_code_button: true
52
+
53
+
# By default, consuming the theme as a gem leaves mermaid disabled; it is opt-in
54
+
mermaid:
55
+
# Version of mermaid library
56
+
# Pick an available version from https://cdn.jsdelivr.net/npm/mermaid/
57
+
version: "9.1.6"
58
+
# Put any additional configuration, such as setting the theme, in _includes/mermaid_config.js
59
+
# See also docs/ui-components/code
60
+
# To load mermaid from a local library, also use the `path` key to specify the location of the library; e.g.
61
+
# for (v10+):
62
+
# path: "/assets/js/mermaid.esm.min.mjs"
63
+
# for (<v10):
64
+
# path: "/assets/js/mermaid.min.js"
65
+
# Note: copy both `mermaid.esm.min.mjs` (v10+) or `mermaid.min.js` (<v10) and the associated `.map` file from the specified version of `mermaid/dist` to `/assets/js/`.
0 commit comments