Skip to content

Instantly share code, notes, and snippets.

@DougieDev
Created January 7, 2020 22:27
Show Gist options
  • Save DougieDev/3b6ca99bf9b791fec13e215071f6d528 to your computer and use it in GitHub Desktop.
Save DougieDev/3b6ca99bf9b791fec13e215071f6d528 to your computer and use it in GitHub Desktop.
Beginners Guide to data types

HEADERS

H2

H4

  • Headers range from H1 to H6, H1 being the largest and H6 being the smallest.

NUMBERED LIST

  1. Item 1
  2. Sub-item 1
  3. Item 2
  • Numbered lists begin with a number (obviously) and can be indented to have sub-items under numbered items.

UNORDERED LIST

  • Bullet point 1
  • Bullet point 2
  • Unordered lists can be assigned with an asterisk.

TEXT STYLING

bold italics strikethrough

  • Text can be emphasized in bold by adding two asterisks before and after the text, or using underscores instead.
  • Text can be italicized using one asterisk before and after the text.
  • Text can be use strikethrough by placing two tilde (~) symbols before and after the text.

CODE BLOCK

console.log("Hey there.");
  • Display blocks of code using three backticks above and below the code.

INLINE CODE

strings and booleans are fun.

  • Display inline-code (grey text) by placing the desired grey-backed text within single backticks.

IMAGE

alt text

  • Insert an image using ![alt text] followed by the image link in parentheses. It is good practice to place a description of the image after the link, included in the parentheses after the link.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment