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 (1)

Collapse
 
siddharthshyniben profile image
Siddharth

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