askalee
6/22/2018 - 1:31 AM

Gist Markdown Cheatsheet

Gist Markdown Cheatsheet

Heading 1 by # Heading 1

Heading 2 by ## Heading 2

Heading 3 by ### Heading 3

Heading 4 by #### Heading 4

Heading 5 by ##### Heading 5
Heading 6 by ######Heading 6

Paragraph

text Inline Code text by `Inline Code`

Mistaken text. by ~~Mistaken text.~~

Italics by *Italics*

Bold by **Bold**


Tasks

  • a task list item
  • list syntax required
  • normal formatting
  • incomplete
  • completed

Code Blocks

4 space indention
makes full-width
standard code blocks
var now = new Date();

var days = new Array('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday');

var months = new Array('January','February','March','April','May','June','July','August','September','October','November','December');

var date = ((now.getDate()<10) ? "0" : "")+ now.getDate();

function fourdigits(number) {
    return (number < 1000) ? number + 1900 : number;
                                }
today =  days[now.getDay()] + ", " +
         months[now.getMonth()] + " " +
         date + ", " +
         (fourdigits(now.getYear())) ;

document.write(today);
#sc_drag_area {
  height:100px;
  left:150px;
  position: absolute;
  top:100px;
  width:250px;
  z-index: 9999;
}

  • List item one
  • List item two
    • A nested item

  1. Number list item one
    1.1. A nested item
  2. Number list item two
  3. Number list item three

Quote

Second line Quote


Standard link = http://ghost.org
Custom Text Link



Table

Left-AlignedCenter AlignedRight Aligned
col 3 issome wordy text$1600
col 2 iscentered$12
zebra stripesare neat$1

Special Icons

RED APPLE (&#x1F34E;): 🍎
GREEN APPLE (&#x1F34F;): 🍏
BLUE HEART (&#x1F499;): 💙
GREEN HEART (&#x1F49A;): 💚
YELLOW HEART (&#x1F49B;): 💛
PURPLE HEART (&#x1F49C;): 💜
GREEN BOOK (&#x1F4D7;): 📗
BLUE BOOK (&#x1F4D8;): 📘
ORANGE BOOK (&#x1F4D9;): 📙
LARGE RED CIRCLE (&#x1F534;): 🔴
LARGE BLUE CIRCLE (&#x1F535;): 🔵
LARGE ORANGE DIAMOND (&#x1F536;): 🔶
LARGE BLUE DIAMOND (&#x1F537;): 🔷
SMALL ORANGE DIAMOND (&#x1F538;): 🔸
SMALL BLUE DIAMOND (&#x1F539;): 🔹
UP-POINTING RED TRIANGLE (&#x1F53A;): 🔺
DOWN-POINTING RED TRIANGLE (&#x1F53B;): 🔻
UP-POINTING SMALL RED TRIANGLE (&#x1F53C;): 🔼
DOWN-POINTING SMALL RED TRIANGLE (&#x1F53D;): 🔽