code icon indicating copy to clipboard operation
code copied to clipboard

More markdown shortcuts

Open igordsm opened this issue 5 years ago • 2 comments

Problem

Code only has very basic markdown shortcuts.

Proposal

  • Make the backticks ` work like parenthesis: adding a single backtick adds a double and selecting text and inserting a backtick surrounds the text with it. Backtick is used in markdown to create monospaced text
  • Use Ctrl+Shift+1 up to Ctrl+Shift+6 for headers. Make it a toggle shortcut.
  • Ctrl+Shift+P for inserting images (pictures, get it? ;). Maybe even use a file chooser to select the file.

igordsm avatar Dec 18 '20 13:12 igordsm

I would also like this! More suggestions for shortcuts:

  • Ctrl+Shift+' (Ctrl+") for blockquoting the current paragraph or selected text (that is, putting a > at the start of each line)
  • Ctrl+` for wrapping a paragraph/selected text in ``` to create a code block

nevillepark avatar Apr 04 '23 20:04 nevillepark