Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • When the cursor is at the beginning of an empty message draft, add the markdown formatting characters. The cursor is placed in between the opening and closing characters. (e.g. **|** )

  • When text is selected, surround the selected text with the opening and closing characters (e.g. **selected text**). The text remains selected

  • When the cursor is at the beginning of a word, surround the word with the formatting characters (e.g. **word**. The cursor remains at the beginning of the word (e.g. **|word**)

  • When the cursor is in the middle of a word, surround the word with the formatting characters (e.g. **word**. The cursor remains in the middle of the word (e.g. **wo|rd**)

  • When the cursor is at the end of a word (that is not the last word), surround the word with the formatting characters (e.g. **word**). The cursor remains at the end of the word (e.g. **word|**)

  • When the cursor is at the end of the last word in the Message Drafta line, add the markdown formatting characters after the last word. The cursor is placed in between the opening and closing characters. (e.g. **|** )

...

  • When the cursor is at the beginning of an empty message draft, add the markdown formatting charactersheading characters (e.g. ## ). The cursor is placed after the heading characters (e.g. ## | )

  • When text is selected, surround the selected text with the opening and closing characters the cursor is anywhere else, add the heading characters (e.g. ## ) to the beginning of the current line. The cursor remains where it was.

  • When text is selected, add the heading characters (e.g. ## ) to the beginning of the current line. The text remains selected.

  • When the cursor is at the beginning of an empty message draft, add [](url) to the message draft. The cursor is placed in between the []. (e.g. [|](url) )

  • When text is selected, add [](url), but the selected text is placed within the [] (e.g. **[selected text**](url)). The original text remains selected

  • When the cursor is at the beginning of a word, surround the word with the formatting characters add [](url), but the nearby word is placed within the [] (e.g. **word** [selected text](url)). The cursor remains at the beginning of the word (e.g. [|word](url)

  • When the cursor is in the middle of a word, add [](url), but the nearby word is placed within the [] (e.g. [selected text](url)). The cursor remains in the middle of the word (e.g. **wo|wordrd**)

  • When the cursor is at the end of a word (that is not the last word),add [](url), surround but the nearby word with the formatting characters is placed within the [] (e.g. **word** [selected text](url)). The cursor remains at the end of the word (e.g. **word|**)

  • When the cursor is at the end of the last word in a line, add [](url) to the message draft. The cursor is placed in the Message Draft, add the markdown formatting characters after the last word. The cursor is placed in between the opening and closing characters. (e.g. **|** )between the []. (e.g. [|](url) )

Code

  • When the cursor is on a blank line with no text, insert the code block characters (3 ticks)

  • When text is selected, surround the selected text with single ` characters (e.g. `selected text`). The text remains selected.

  • If more than one line of text is selected, surround the selected text with ``` characters (e.g. ```selected text here```). The text remains selected.

  • When the cursor is at the beginning of a word, surround the word with the single ` characters (e.g. `word`. The cursor remains at the beginning of the word (e.g. `|word`)

  • When the cursor is at the end of a word (but is not the last word), surround the word with the single ` characters (e.g. `word`). The cursor is placed at the end of the word (`word|`)

  • When the cursor is at the end of the last word in a line, add ` characters with the cursor in between (e.g. `|`)

Quotes

  • When the cursor is at the beginning of an empty message draft, add the quote character (e.g. > ). The cursor is placed after the quote character (e.g. > | )

  • When the cursor is anywhere else, add the quote character (e.g. > ) to the beginning of the current line. The cursor remains where it was.

  • When text is selected, add the quote character (e.g. > ) to the beginning of the current line. The text remains selected.

  • When multiple lines are selected only add the the > to the first line - unless there is a blank line between. If there is a blank line add another > for each paragraph separated by a blank line

Bulleted Lists

  • When the cursor is at the beginning of an empty message draft, add the bullet character (e.g. - ). The cursor is placed after the character (e.g. - | )

  • When the cursor is anywhere else, add the bullet character (- ) to the beginning of the current line. The cursor remains where it was.

  • When text is selected, add the bullet character (- ) to the beginning of the current line. The text remains selected.

  • When multiple lines are selected, add the bullet character (- ) to each of the selected lines

Numbered Lists

  • When the cursor is at the beginning of an empty message draft, add the numbered list characters (e.g. 1. ). The cursor is placed after the characters (e.g. 1. | )

  • When the cursor is anywhere else, add the bullet character (1. ) to the beginning of the current line. The cursor remains where it was.

  • When text is selected, add the bullet character (1. ) to the beginning of the current line. The text remains selected.

  • When multiple lines are selected, add the bullet character (1. ) to each of the selected lines and sequence the numbers