Skip to content

Latest commit

 

History

History
24 lines (14 loc) · 1.27 KB

README.md

File metadata and controls

24 lines (14 loc) · 1.27 KB

Quick Wrapper

Quickly wrap selected text with customisable tags using keyboard shortcuts.

Overview

This plugin allows you to wrap selected text with custom prefix and suffix tags, such as HTML tags. Define multiple quick tags and assign keyboard shortcuts for fast editing. Add and delete quick tags as needed from the settings panel.

Usage

  1. Edit quick tags: Go to Settings > Quick Tags. Add new quick tags by specifying a name, prefix, and suffix.
  2. Set keyboard shortcuts: Go to Settings > Hotkeys. Search Quick Wrapper and find the commands Quick Wrapper: Wrap with … followed by your quick tag names. Assign your desired keyboard shortcuts.
  3. Wrap text: In the editor, select the text you want to wrap. Use the Command palette or the assigned keyboard shortcuts to wrap the text.

Note: After deleting a quick tag from settings, its command will remain available in the Command palette until you restart Obsidian or disable and re-enable the plugin.

Examples

  • Use command U to wrap with <u>...</u>.
  • Use command shift K to wrap with <kbd>...</kbd>.

Contributing

Contributions are welcome! Submit issues or pull requests on the GitHub repository.