| Summary | Highlight text and search it quickly | |
| Preview | Theme Creator (To an example topic) | |
| Repository | GitHub - NateDhaliwal/discourse-highlight-to-search · GitHub | |
| Install Guide | How to install a theme or theme component | |
| New to Discourse Themes? | Beginner’s guide to using Discourse Themes |
Install this theme component
Overview
This component allows users to highlight text in posts and search for it quickly. Searches can be set to be the forum’s search, for an external search (e.g. Google).
Screenshots
Settings
search url: The URL path of the search function. You can use the %{selected_text} as a placeholder.
is external: Check this if the search is external, e.g. Google.
search exact: Check this to search for exactly the selected text.
search exact character: The character to denote an exact search. Defaults to ".
include from author: For a forum-wide search, you can check this to show posts only from the post author with the selected text.
The button text and title can be edited via locales.

