* fix: restore syntax highlighting inside Obsidian callouts
The callout wrapper adds extra indentation/prefix characters that
shifted the document offsets, causing the editor extension to miss
SQLSeal codeblocks. Updated range detection to account for callout
context so highlighting works correctly inside collapsed and expanded
callouts.
* chore: refactoring code to reuse the same function in tests and app