Screenshot

image: 690x136

Repo

discourse-highlight-text

About

Add some common brand terms on your forum to the theme settings, and they will get highlighted in every post.
Uses https://markjs.io/ to highlight text in discourse. Supports mark() and markRegExp() methods. The ‘quaternary’ theme color (discourse -> customize -> colors) is used to highlight the text.

Installation

How do I install a Theme or Theme Component?

Preview

https://theme-creator.discourse.org/t/what-is-a-onebox/276/11?preview_theme_id=3570

Configuration

Configure the theme component in its settings. Set if you want to mark a single word or if you prefer to set a regular expression for selecting the text. It’s also possible to specify if case (in)-sensitive.

Example regular expression: [\s]discourse[\s] (See above screenshot and the highlighted word “discourse”).

Thanks

Thank you, https://markjs.io/