Markdown style auto-formatting

The text editor offers the possibility to change the formatting also by entering certain strings. 

Write the following strings at the beginning of a new line:

  • Convert current paragraph into a 2nd to 4th level heading: 
    "##" + space
    Number depending on heading level, e.g. "####" for H4
  • Lists:
    • convert current paragraph into an unsorted list item: 
      "-", "*" + space
    • Convert current paragraph into a numbered list item: 
      number + "." or ")" + space, 
      (e.g. "1. " or "3) ")
    • Convert current paragraph into a code block:
    • "```" + space
Representation of Markdown formatting: two # form a heading 2, 3 # form a heading 3, a hyphen forms an unnumbered list, a number forms the numbered list, 3 ` form a code block