Repository navigation
Releases
Releases · guguthecoder/obsidian-underliner
1.0.1
Cursor support when nothing is selected.
Put the cursor inside a word and press Ctrl+U: that word is wrapped, and pressing again unwraps it. No need to select it first. On blank space the plugin still inserts an empty pair between the tags.
This is the remaining gap that the existing underline plugins have open as an issue ("works for selection, but not when the cursor is in the middle of a word").
Everything else is unchanged: multi-line selections are wrapped line by line, existing <u> pairs are removed instead of nested, and the command has no settings.
1.0.0
First release.
Ctrl+U wraps the selection in <u></u>; press it again to remove the tags.
- Multi-line selections are wrapped line by line, with indentation left outside the tag.
- Text already inside a
<u>pair is un-toggled instead of nested. - Nothing selected inserts a pair with the cursor between the tags.
No settings, no stylesheet, 3 KB, no build step. Requires Obsidian 1.4.0+.