Sustain Markdown cheatsheet

March 30, 2020    CheatSheet HowTo

This is a Markdown Cheatsheet Demo for Sustain, this Jekyll theme. Please check the raw content of this file for the markdown usage.

Typography Elements in One

Let’s start with a informative paragraph. This text is bolded. But not this one! How about italic text? Ok, let’s combine them together. In case you have code to highlight, ProceedLikeThis(). By the way, here’s a link to this template or https://github.com/jekyller/sustain.

Headings H1 to H6

H1 Heading

H2 Heading

H3 Heading

H4 Heading

H5 Heading
H6 Heading

Footnote

Let’s say you have text that you want to refer with a footnote, you can do that too! This is an example for the footnote number one 1. You can even add more footnotes, with link! 2

Blockquote

If you decide to design your own language, there are thousands of sort of amateur language designer pitfalls. – Guido van Rossum

NOTE: This theme does NOT support nested blockquotes.

List Items

  1. First order list item
  2. Second item
  • Unordered list can use asterisks
  • Or minuses
  • Or pluses

Code Blocks

var s = "JavaScript syntax highlighting";
alert(s);
import sys
s = "Python syntax highlighting"
print(s)
def run_some_function():
    "Docs..."
    return
/* css synthax highlighting */
#container {
    float: left;
    margin: 0 -240px 0 0;
    width: 100%;
}
No language indicated, so no syntax highlighting.
But let's throw in a <b>tag</b>.

Table

Table 1: With Alignment

Tables Are Cool
col 1 is left-aligned (default) $1
col 2 is centered $12
col 3 is right-aligned $1600

Table 2: With Typography Elements

Markdown Less Pretty
Still renders nicely
1 2 3

Horizontal Line

The HTML <hr> element is for creating a “thematic break” between paragraph-level elements. In markdown, you can create a <hr> with any of the following:

  • ___: three consecutive underscores
  • ---: three consecutive dashes
  • ***: three consecutive asterisks

renders to:




Media

YouTube Embedded Iframe

Image

CloudKitty

  1. Footnote number one. 

  2. A footnote you can link to - click here!