DEV Community

Siddharth
Siddharth

Posted on

DEV Protip: automatically format with keyboard shortcuts!

I just realized that you can add some basic formatting using keyboard shortcuts in comments:

cft

Sorry for the random popup in the middle, just my computer reminding me to take a break

I only found i for italic, b for bold, and k for links. And they only seem to work on comments. Maybe the DEV team might know more?

Top comments (3)

Collapse
 
siddharthshyniben profile image
Siddharth

On a side note, those <kbd> elements are rendered too small. That's an a11y issue!

Collapse
 
arthur_verboven_839fa2975 profile image
Arthur Verboven

hey

Collapse
 
iamsamayyy profile image
Sonu Sharma

On a side note, those elements are rendered too small. That's an a11y issue!