Skip to content

Releases

1.0.1

Choose a tag to compare

@guguthecoder guguthecoder released this 30 Oct 07:38

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

Choose a tag to compare

@guguthecoder guguthecoder released this 30 Oct 07:11

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+.