Skip to main content
1 of 2
Manishearth
  • 2.7k
  • 16
  • 39

I've added a fix to point 3 over here (it's forked)

It deals with <kbd>[selected text]</kbd> and [<kbd>text</kbd>], where the [] denotes selection.

It will not deal with wierd stuff like <kb[d>text</kbd>]. (Could be done using regexes)

Manishearth
  • 2.7k
  • 16
  • 39