Skip to content

Instantly share code, notes, and snippets.

@lynsei
Last active May 1, 2025 21:09
Show Gist options
  • Save lynsei/c50aa4a11f6fac33314038b9dc97a864 to your computer and use it in GitHub Desktop.
Save lynsei/c50aa4a11f6fac33314038b9dc97a864 to your computer and use it in GitHub Desktop.
[github-markdown] #markdown #github #cheats

Here is a simple footnote1.

A footnote can also have multiple lines2.

@octocat 👍 This PR looks great - it's ready to merge! :shipit:

@github/support What do you think about these updates?

  1. First list item
    • First nested list item
      • Second nested list item
  2. First list item
    • First nested list item
      • Second nested list item
  • George Washington
  • John Adams
  • Thomas Jefferson

This example
Will span two lines

This example Will span two lines

Section Heading

Some body text of this section.

Some text I want to provide a direct link to, but which doesn't have its own heading.

(… more content…)

A link to that custom anchor

Contribution guidelines for this project

Contribution guidelines for this project

Example headings

Sample Section

This'll be a Helpful Section About the Greek Letter Θ!

A heading containing characters not allowed in fragments, UTF-8 characters, two consecutive spaces between the first and second words, and formatting.

This heading is not unique in the file

TEXT 1

This heading is not unique in the file

TEXT 2

Links to the example headings above

Link to the sample section: Link Text.

Link to the helpful section: Link Text.

Link to the first non-unique section: Link Text.

Link to the second non-unique section: Link Text.

Some basic Git commands are:

git status
git add
git commit

Text that is not a quote

Text that is a quote

Use git status to list all new or modified files that haven't yet been committed.

Note

Useful information that users should know, even when skimming content.

Tip

Helpful advice for doing things better or more easily.

Important

Key information users need to know to achieve their goal.

Warning

Urgent info that needs immediate user attention to avoid problems.

Caution

Advises about risks or negative outcomes of certain actions.

Footnotes

  1. My reference.

  2. To add line breaks within a footnote, prefix new lines with 2 spaces. This is a second line.

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