lauloque390 downloadsFormat selected text into HTML <kbd> tags for representing keyboard keys and mouse inputs.
Formats keyboard text (kbd) in your Obsidian notes quickly and consistently.
This Obsidian plugin allows you to select text within your notes and, with a simple keyboard shortcut of your choosing , automatically format common keyboard keys and mouse buttons using HTML <kbd> tags. This provides a visually distinct and semantic way to represent user input instructions in your writing.
ctrl shift a will become ⌘ Ctrl ⇧ Shift A.up and left become ↑ Up ← Left to mimic arrow keysnumpad . or numpad 5 will be formatted as Numpad • or Numpad 5Install the plugin:
<your_vault>/.obsidian/plugins/keyboard-formatter), then enable the plugin from your Obsidian's Community plugins list.Format text:
ctrl shift a).<kbd>⌘ Ctrl</kbd> <kbd>⇧ Shift</kbd> <kbd>A</kbd> which looks like this: ⌘ Ctrl ⇧ Shift A.If you find this plugin helpful and would like to support its development, you can buy me a coffee on Ko-fi! Your support is greatly appreciated.
Thank you for using Obsidian Keyboard Formatter! If you have any issues or suggestions, please feel free to open an issue on this repository.