Skip to content

Instantly share code, notes, and snippets.

@firexcy
Last active November 23, 2023 08:09
Show Gist options
  • Save firexcy/5639af57e96261947565520f88dae068 to your computer and use it in GitHub Desktop.
Save firexcy/5639af57e96261947565520f88dae068 to your computer and use it in GitHub Desktop.

Phrase Emphasis easy peasy

But hopefully you won’t be mad at this.

Turn to bare HTML for underlines etc. (YMMV)

An inline link

A reference style link.

Wikipedia Logo

Setext H1

ATX H1

ATX H6
  1. This is an ordered list
  2. without paragraphs

and

  • This is an unordered list

    with multiple

  • paragraphs

and

  • This
    • is
  • how
    1. you
    2. can
      • nest
    3. multiple
  • lists
  • `a long code span can contain a hyphen characater like this
    • and it can screw things up`

End a line with two or more spaces
to make a manual line break

Email-style angle brackets are used for blockquotes.

And, they can be nested.

Headers in blockquotes

  • You can quote a list.
  • Etc.

<code> spans are delimited by backticks.

You can include literal backticks like `this`.

This is a indented preformatted
code block.

Make a horizontal rule with three or more dashes or asterisks:




(Surprise — by this point we have exhaused the features in the original markdown.pl.)

This is a table
Align center right
Left or if you like
{
  "do": "you",
  "want": "some",
  "color": 1
}

Here’s a simple footnote,1 and here’s a longer one.2

The world is flat. ==We now know that the world is round.==

  • You can checkout any time you like
  • But you can never leave

subscript or subscript

super^script^ or superscript

gantt
    title recover productivity after a long holiday

    section jk
    wake up :a1, 2023-10-08, 1h
    go to work:after a1, 1h

This is an inline equation: $V_{sphere} = \frac{4}{3}\pi r^3$, followed by a display style equation:

$$ V_{sphere} = \frac{4}{3}\pi r^3 $$

Footnotes

  1. This is the first footnote.

  2. Here's one with multiple paragraphs and code.

    Indent paragraphs to include them in the footnote.

    { my code }

    Add as many paragraphs as you like.

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