Packages icon indicating copy to clipboard operation
Packages copied to clipboard

[Markdown] <kbd> tags deserve dedicated scope

Open deathaxe opened this issue 4 years ago • 0 comments

Current syntax of markdown doesn't treat <kbd> tags or content in between special. It appears to have a certain meaning in technical documentations though.

At least common auto-pairing functions or other smart typing features may need to be disabled within those tags.

Otherwise typing ` (or other special chars) within those tags may result in unwanted auto-pairing. A plugin/keymap has no chance to prevent it or needs to parse preceding_text to look for <kbd> explicitly.

  • Sublime Version: 4107
  • OS Version: irrelevant
*   <kbd>Space</kbd> or <kbd>Tab</kbd> deletes right element of empty pair of asterisks or underscores

Default Markdown

grafik

MarkdownEditing Markdown

preferred solution...

grafik

deathaxe avatar May 30 '21 09:05 deathaxe