Editor Keyboard Shortcuts

While typing:

  • Enter ** on both sides of your text to bold.

  • Enter * on both sides of your text to italicize.

  • Enter ` on both sides of your text to create an inline code.

At the beginning of a block line

Use any of these shortcuts at the beginning of a new line or existing content:

  • Enter *, -, or + followed by space to create a bulleted or unordered list.

  • Enter 1., a., or i. followed by space to create a numbered or ordered list.

  • Enter # followed by space to create an H1 heading.

  • Enter ## followed by space to create an H2 sub-heading.

  • Enter ### followed by space to create an H3 sub-heading.

  • Enter #### followed by space to create an H4 sub-heading.

  • Enter > followed by space to create a quote block.

  • Enter --- to create a divider. The last - will trigger the divider.

Two keys shortcuts

Try the following before writing a text or on a selected text:

  • Press cmd/ctrl + B to make the text bold.

  • Press cmd/ctrl + I to make the text italic.

  • Select the text and press cmd/ctrl + K to create a hyperlink, or paste a link on a highlighted word or sentence.

  • Press cmd/ctrl + E to create an inline code.

  • Press cmd/ctrl + tab to exit a list or nested list.

  • Press shift + up/down arrow keys to highlight multiple lines of content.

Keyboard shortcut for accessibility

  • Select an area of text, then press and hold the key on Mac or the Ctrl key on Windows to see keyboard shortcuts in the formatting toolbar.
    It gives you the following options:

    • B - To make the selected text bold

    • I - To change the selected text to Italics

    • Shift+S - To apply a strikethrough to the selected text

    • Opt+1 - To format the selected text as Heading 1

    • Opt+2 - To format the selected text as Heading 2

    • Opt+3 - To format the selected text as Heading 3

    • Shift+H - To highlight the selected text

    • E - To turn the selected text into inline code

    • K - To create a hyperlink for the selected text

    • M - To add an inline comment to the selected text

    • J - To trigger Hashnode AI

The @ mention command

Enter the @ symbol using shift + 2 to tag a Hashnode user and they'll be notified. This is useful in giving a shout-out to someone within your article. Their embedded name will lead to their profile on Hashnode.

Hint 💡: Press the ESC key to dismiss the @-user menu if you want to type @ within your article.

Focus mode

Press cmd/ctrl + Shift + I to toggle focus mode in the editor. For more information on editor focus mode, please refer to this guide.

Updated on