I noticed that:
-
==mark==syntax becomes<mark>example2</mark> - when performing global search, words are highlighted this way:
<mark data-markjs="true">searchedword</mark> - when performing search within a note:
- all occurrences are highlighted this way
<mark data-markjs="true">searchedword</mark> - but the currently selected occurrence (because in local search you can skip to next/previous occurrence with arrows) is highlighted this way:
<mark data-markjs="true" class="mark-selected">selectedoccurrence</mark>
- all occurrences are highlighted this way
Maybe you could create a new mark class for ==mark==, e.g. class="user-mark", so you can use standard mark class for search results.