Skip to content

Latest commit

 

History

History
80 lines (68 loc) · 2.09 KB

MarkdownCheatSheet.md

File metadata and controls

80 lines (68 loc) · 2.09 KB

Source: GitHub Hacknight - Woman Who Code

Table Of Contents:

1. Markdown Syntax

GOALS:

  • a. Markdown: What is markdown?
  • b. HEADERS: Which headers exist in markdown style?
  • c. EMPHASIS: How to emphasize text in markdown?
  • d. LIST: How to create lists in markdown?
  • e. IMAGES: How to add images in markdown?
  • f. LINKS: How to add links in markdown?
  • g. BLOCKQUOTES: How to add blockquotes in markdown?
  • h. BACKSLASH ESCAPES: How to add backslash escapes in markdown?

a. What is Markdown?

  • Markdown = regular text with non-alphabetic characters to style text on the web.

b. HEADERS

This is an <h1> tag

This is an <h2> tag

This is an <h3> tag

This is an <h4> tag

This is an <h5> tag
This is an <h6> tag

c. EMPHASIS

To emphasize a text in markdown, use the following: ITALIC:

  • *: This text is italic
  • : This text is italic BOLD:
  • **: This text is bold
  • __: This text is bold (NOTE: Combine them as you like**)

d. LIST

  • Create an unordered list <ul>
  • Item 1
  • Item 2
    • Item 2a
    • Item 2b
  • Create an ordered list <ol>
  1. Item 1
  2. Item 2
  3. Item 3
    • Item 3a
    • Item 3b

e. IMAGES

f. LINKS

g. BLOCKQUOTES

As Steve Jobs said:

Every one should learn to code. It learns you to think!

h. BACKSLASH ESCAPES

Markdown allows to use backslash escapes to generate literal characters which would otherwise have special meaning in Markdown´s formatting syntax. It provides backslash escapes for the following characters:

  • *literal asterisk*= *\literal askerisk*
  • \= backslash
  • = backtick
  • *= asterisk
  • _= underscore
  • {}= curly braces
  • []= square brackets
  • ()= parenthesis
  • #= hash mark
  • + = plus sign
  • - = minus sign (hyphen)
  • . = dot
  • ! = exclamation mark.