Skip to content

Instantly share code, notes, and snippets.

@talkahe
Created December 24, 2016 05:05
Show Gist options
  • Save talkahe/aa622816052c3f7b7490d71f627dd483 to your computer and use it in GitHub Desktop.
Save talkahe/aa622816052c3f7b7490d71f627dd483 to your computer and use it in GitHub Desktop.
A little Markdown cheatsheet

Markdown cheatsheet

This is a paragraph filled with some bold text and some italic text. The two ways of doing this. We can also strike out some text. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

this is part of the same line.
New line.

You can use also regular HTML when there is no Markdown way to do what you want.

There is an horizontal rule below.


Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

or Heading 1

Heading 2

Links

Adding http:// links will be created automatically: https://www.google.com

or https://twitter.com

or This is a link

or we can keep our code clean by referencing the url later

Images

Example image, alt text for image

or

Reference image

we can also link an image

thumbnail

List

Unordered List

  • You can use a - sign
  • Or you can use a + sign
  • Or you can use a * sign.
    • You can indent with tabs.

Ordered List

  1. Item 1
  2. Item 2. Markdown will ignore your numbers
  3. Item 4. Markdown will show the proper numbers.
    • You can combine lists

Blockqoute

Someone said this, right?

Yes

Blockqoutes need to be separated by something else.

And this was said by Einstein (?).

Code Blocks

Inline code block: var foo = bar;

Here is my code:

const array = [1,2,3];
array.pop();

I could add the languaje (or not).

echo "I don't know which languaje I am. :]"

I can also build git diff

var isHold = true;
- var speed = 5;
+ var speed = 7;

Tables

Dog's Name Dog's Age
Quillo 10
Russia 6
Luka 4
Boni 2

The text align will depend on where you write the two points.

Checkboxed, issues and people

Supported by Github

  • Test @talkahe pull request
  • Deploy update
  • Fix issue #34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment