Skip to content

Instantly share code, notes, and snippets.

@Garrett-Iannuzzi
Last active April 14, 2019 20:15
Show Gist options
  • Save Garrett-Iannuzzi/73f172548f51ba026a7dd8ffda009379 to your computer and use it in GitHub Desktop.
Save Garrett-Iannuzzi/73f172548f51ba026a7dd8ffda009379 to your computer and use it in GitHub Desktop.
Beginners Guide to Git

Intro to Markdown:

Smaller headings use more #'s (1-3)...

(remember to use .md on the file extention)

To make a numbered list you must use a "1" before each item on the list. MD will know what to do. (remember to inculde a space between 1. and the item)

Example: A list of my favorite drinks from 1-5...

  1. Wine
  2. Vodka
  3. Whiskey
  4. Beer
  5. Grandma

To crearte a bullet point list use "*" (remember to inculde a space between * and item)

Example: A grocery list...

  • Eggs
  • Milk
  • Chicken
  • Cheese

To create italic words use one * on each side of the word. To create bold words use two * on each side of the word. If you would like both then try three * on each side of the word.

This can come in handy when you really want to add some emphasis to something, or just play around.

To create a code block use three back ticks to enclose the code...(keep in mind that the three back ticks have to be on their own line at the start and end

Example:

{
  color: white;
  background: #ee7e90;
  font-family: georgia;
}

p1 {
  font-family: helvetica;
}
p2 {
  font-family: helvetica;
} 

To create an inline code block (greyed text) use one back tick...

Example: Here we code again

To use an image you use an "!" followed by brackets that contain the descriptive text for the image followed by () that enclose the link

Example:

tiger

**To create a link use brackets to enclose the text description (this time the text will be how the link is displayed), then use () to enclose the link.

Example:

Best day in sports history!

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