A local-first note taking app

Hide inline markers as soon as cursor leaves the span master

Proximity reveal used a 2-char window, so after typing a closing marker (e.g. the second *) the markers stayed visible until the cursor moved 3 characters past them. Set PROXIMITY_CHARS to 0 so markers reveal only while the cursor is within/touching the span and hide the moment it moves one character past the closing marker. Affects bold, italic, strikethrough, inline code, and links. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>


+37 -6
2 changed files