Skip to content

Instantly share code, notes, and snippets.

@notmatt
Last active December 19, 2015 12:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save notmatt/5954767 to your computer and use it in GitHub Desktop.
Save notmatt/5954767 to your computer and use it in GitHub Desktop.

Gist, Y U NO USE GITHUB MARKDOWN?

Sample from github help

The next paragraph contains two phrases separated by a single newline character:

Roses are red
Violets are blue

And it's true! Elsewhere in github, this becomes:

<p>Roses are red<br>
Violets are blue</p>

Let's try it here!

Roses are red Violets are blue

In a gist, this becomes:

<p>Roses are red
Violets are blue</p>
@notmatt
Copy link
Author

notmatt commented Jul 9, 2013

Remarkably, Gist comments get the full GHFM treatment!

Roses are red
Violets are blue

Comments get newlines
Why not gists too?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment