Skip to main content
added 106 characters in body
Source Link

Wrt the <kbd></kbd> insertion, how about this simple scenario: user has Shift+Alt+P and wants to convert it to Shift+Alt+P

Current scenario: user highlights all three keys individually and highlights them one by one. Boring! :(

Proposed scenario: user highlights the entire string (Shift+Alt+P) at once, presses Alt-K, and voila! It converts to Shift+Alt+P :D

Implementation problems: I don't think there should be any. We only need to split the text selection by - or + characters, apply formatting individually to each one of them, and give the result back.

GIF of this feature: (thanks to WELZ)

feature in action

Wrt the <kbd></kbd> insertion, how about this simple scenario: user has Shift+Alt+P and wants to convert it to Shift+Alt+P

Current scenario: user highlights all three keys individually and highlights them one by one. Boring! :(

Proposed scenario: user highlights the entire string (Shift+Alt+P) at once, presses Alt-K, and voila! It converts to Shift+Alt+P :D

Implementation problems: I don't think there should be any. We only need to split the text selection by - or + characters, apply formatting individually to each one of them, and give the result back.

Wrt the <kbd></kbd> insertion, how about this simple scenario: user has Shift+Alt+P and wants to convert it to Shift+Alt+P

Current scenario: user highlights all three keys individually and highlights them one by one. Boring! :(

Proposed scenario: user highlights the entire string (Shift+Alt+P) at once, presses Alt-K, and voila! It converts to Shift+Alt+P :D

Implementation problems: I don't think there should be any. We only need to split the text selection by - or + characters, apply formatting individually to each one of them, and give the result back.

GIF of this feature: (thanks to WELZ)

feature in action

added 22 characters in body
Source Link
Brock Adams
  • 13k
  • 5
  • 39
  • 64

Wrt the <kbd></kbd> insertion, how about this simple scenario: user has Shift+Alt+P and wants to convert it to Shift+Alt+P

Current scenario: user highlights all three keys individually and highlights them one by one. Boring! :(

Proposed scenario: user highlights the entire string (Shift+Alt+P) at once, presses Alt-K, and voila! It converts to Shift+Alt+P :D

Implementation problems: I don't think there should be any. We only need to split the text selection by - or + characters, apply formatting individually to each one of them, and give the result back.

Wrt the <kbd></kbd> insertion, how about this simple scenario: user has Shift+Alt+P and wants to convert it to Shift+Alt+P

Current scenario: user highlights all three keys individually and highlights them one by one. Boring! :(

Proposed scenario: user highlights the entire string (Shift+Alt+P) at once, presses Alt-K, and voila! It converts to Shift+Alt+P :D

Implementation problems: I don't think there should be any. We only need to split the text selection by - or + characters, apply formatting individually to each one of them, and give the result back.

Wrt the <kbd></kbd> insertion, how about this simple scenario: user has Shift+Alt+P and wants to convert it to Shift+Alt+P

Current scenario: user highlights all three keys individually and highlights them one by one. Boring! :(

Proposed scenario: user highlights the entire string (Shift+Alt+P) at once, presses Alt-K, and voila! It converts to Shift+Alt+P :D

Implementation problems: I don't think there should be any. We only need to split the text selection by - or + characters, apply formatting individually to each one of them, and give the result back.

Source Link

Wrt the <kbd></kbd> insertion, how about this simple scenario: user has Shift+Alt+P and wants to convert it to Shift+Alt+P

Current scenario: user highlights all three keys individually and highlights them one by one. Boring! :(

Proposed scenario: user highlights the entire string (Shift+Alt+P) at once, presses Alt-K, and voila! It converts to Shift+Alt+P :D

Implementation problems: I don't think there should be any. We only need to split the text selection by - or + characters, apply formatting individually to each one of them, and give the result back.