Skip to content

Instantly share code, notes, and snippets.

@aperezsantos
Last active August 29, 2019 06:14
Show Gist options
  • Save aperezsantos/53d98b1ee0b67fa870cb8013f480a9f8 to your computer and use it in GitHub Desktop.
Save aperezsantos/53d98b1ee0b67fa870cb8013f480a9f8 to your computer and use it in GitHub Desktop.
A simple-to-read guide to Git using Markdown and light humor. Obviously, it's a work in progress. Ha, Ha!

Headers

This is a header

Include a hashtag followed by a space at the beginning of your header.

This is another header, in a different size

It has four hashtags at the beginning, followed by a space.

Headers start from:

H1

all the way to:

H6

Numbered List

  1. Making an ordered list is simple
  2. All you have to do is add a number
  3. Followed by a period and a space
  4. And finally, the item
    1. For the indentation, you add three spaces before the number

Bullet Points

  • This bullet point was made with an asterisk, followed by a space
  • This bullet point was made with a minus sign, followed by a space
  • This bullet point went to the..., I mean, it was made with a plus sign followed by a space

Be Bold

BOLD!

That was done by inserting the word between asterisks, two on each side.

This line uses two underscores on each side. No spaces needed.

Be Fancy

Isn't this line quite fancy?

I did it by inserting these words between asterisks, one on each side. No need for spaces here either.

I can also do this with underscores, and yes, you guessed it, there is one on each side, without spaces.

Code Block

Greying a whole block of code requires three back-ticks on the line above this sentence, and three below.
(see below for explanation of back-ticks)

Inline code block (greyed text)

This is an inline code block.

You insert what you want to grey inside back-ticks (no spaces required).

I had to Google back-ticks because until this assignment, I had never heard of that.

I even had to Google where to find it on the keyboard.

Images

This is where you can find the back-tick on your keyboard.

alt text

As for adding an image, here are the steps:

  1. Look for an image on Google
    1. Make sure it's a .jpg or some other image file
  2. Copy URL
  3. In your code type: ![alt text] followed by parenthesis and the URL like so: (insert image URL here)
  4. Hope for the best

You're welcomed.

Blockquotes

A blockquote looks nice. That's why I included it in this guide. You do this by using one of these > at the beginning, followed by a space. To add a break in between blockquotes, you move down two lines.

Now you can start another blockquote. Also, don't worry about how long a line is. You could go on, and on, and on, and eventually it wraps.

And always...

USE GOOGLE WHEN YOU NEED TO FIND ANSWERS

@aperezsantos
Copy link
Author

It came to my attention that this gist was secret, and it lacked .md at the end of the title to make it a complete markdown project. Even when I completed the task for session 3 of mod 0, no one would be able to access it or see my changes.

I have now made the necessary changes to complete the task.

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