Open claremacrae opened 2 years ago
Agreed that this needs better documentation. For now, those toggles control how and where CSS classes are applied.
<span class="[highlightName]">
<div class="cm-line [highlightName]">
<span class="[highlightName]-start"></span>
<span class="[highlightName]-end"></span>
Thank you! I wouldn't have guessed that, but I can see how it's really useful.
@nothingislost, do you have any example of hour I can use the "parent" filter?
I would like to put a border around tasks.
I have been identifying tasks using ^- \[.\] .*$
but the border is applied to individual elements, not the entire line. If I switch from "matches" to "parent", the regex is not being picked up. I guess I am misunderstanding the functioning.
Apologies if I missed it in the docs, but can you please say that the radio buttons mean in "Persistent Highlights" against regex rules:
Perhaps tool tips/hover tips might help?