Supported Markdown Syntax

Markdown is a popular markup language for formatting text. While there is no formal universal specification, tools try to keep consistent syntax. Alfred supports Markdown in areas like a Workflow's About section and the Text View. Currently implemented:

Heading Start a line with # for a level 1 heading (biggest) all the way down to ###### for a level 6 heading (smallest).
Paragraph Write one or more contiguous lines of text with no special syntax. Two newlines to start a new paragraph. End a line with two spaces to force a line break.
Italic Surround text in * or _.
Bold Surrount text in ** or __.
Italic and bold Surrount text in *** or ___.
Link [Add the text between the square backets](https://alfred.com/).
Image ![Do not forget the exclamation mark](/some/image/path.png). Images have to be local. Paths are relative to the workflow directory.
Block quote Start lines with >.
Inline code Surround text in `.
Code block Add ``` in their own lines to determine the start and end of the block.
Unordered list Start lines with *, +, or -. Nest items by placing them in a new line and indenting by four spaces.
Ordered list Start lines with a number and a period. Items keep the number you write down. Nest items by placing them in a new line and indenting by four spaces.
Horizontal rule Have a line with only --- or ***.
Keyboard key Surround text in <kbd> and </kbd>.
Table Separate text on contiguous lines with | for the columns. To make the first line a header, columns on the second line must consist of - characters. Prepend or append a : (:---, :---:, or ---:) to force column alignments in the direction of the colon.
Stock callout Same as a block quote, but the first line must be one of:
  • > [!NOTE]
  • > [!TIP]
  • > [!IMPORTANT]
  • > [!WARNING]
  • > [!CAUTION]
  • > [!DEPRECATED]
Custom callout Same as a stock callout, of the form > [!COLOUR:SFSYMBOLNAME:HEADER] (e.g. > [!#AFE1AF:command.square.fill:Command]).