Skip to content

Instantly share code, notes, and snippets.

@Ellyria
Last active August 9, 2017 04:03
Show Gist options
  • Save Ellyria/4f10e4c7bbdac86cde2111698b8e4f9e to your computer and use it in GitHub Desktop.
Save Ellyria/4f10e4c7bbdac86cde2111698b8e4f9e to your computer and use it in GitHub Desktop.

How To Insert Code Blocks Into Gitter

Below are some of the ways you can enter a code block into chat.

Enter code in chat mode:

  • Type three backticks (```) on a line by themselves and press the Shift and Enter keys at the same time to get to the next line.
  • Paste in your code and press the Shift and Enter keys at the same time to get to the next line.
  • Type three backticks (```) on a line by themselves and press the Enter key to send the message.

Enter introduction and code in chat mode:

  • Type some text and press the Shift and Enter keys at the same time to get to the next line.
  • Type three backticks (```) on a line by themselves and press the Shift and Enter keys at the same time to get to the next line.
  • Paste in your code and press the Shift and Enter keys at the same time to get to the next line.
  • Type three backticks (```) on a line by themselves and press the Enter key to send the message.

Enter introduction and code and summary in chat mode:

  • Type some text and press the Shift and Enter keys at the same time to get to the next line.
  • Type three backticks (```) on a line by themselves and press the Shift and Enter keys at the same time to get to the next line.
  • Paste in your code and press the Shift and Enter keys at the same time to get to the next line.
  • Type three backticks (```) on a line by themselves and press the Shift and Enter keys at the same time to get to the next line.
  • Type some text and press the Enter key to send the message.

Enter code and summary in chat mode:

  • Type three backticks (```) on a line by themselves and press the Shift and Enter keys at the same time to get to the next line.
  • Paste in your code and press the Shift and Enter keys at the same time to get to the next line.
  • Type three backticks (```) on a line by themselves and press the Shift and Enter keys to get to the next line.
  • Type some text and press the Enter key to send the message.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment