Skip to content

Commit

Permalink
Add matchOnlyFirstOccurence to readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
mauritsvanrees committed Oct 24, 2024
1 parent 4e0588f commit 7d815fd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,13 @@ config.settings.glossary.caseSensitive = true;

Regardless of this setting, when you have a fully uppercase term, for example `REST` (Representational State Transfer), always only the exact word `REST` gets a tooltip, not `rest` or `Rest`.

By default we show a tooltip for all matches on a page.
You can configure this to only show a tooltip for the first match:

```
config.settings.glossary.matchOnlyFirstOccurence = true;
```

Install Plone Add-On [collective.glossary](https://github.com/collective/collective.glossary) in your backend.


Expand Down

0 comments on commit 7d815fd

Please sign in to comment.