Evan Harmon - Memex

Markdown

thumbnail Markdown is a lightweight markup language for creating formatted text using a plain-text editor. John Gruber created Markdown in 2004 as a markup language that is easy to read in its source code form. Markdown is widely used for blogging and instant messaging, and also used elsewhere in online forums, collaborative software, documentation pages, and readme files.

Flavors

Syntax

Code Blocks

console.log("hello")

Nested Code Blocks

An admonition, which as 4 backticks


```git
+ print("hello")
- print("world")
```

~~~python
print("hello world")
~~~

Tables

Column1 Column 2
Value 1 Value 2
Value 3 Value 4

With resized image (escape the |)

Column1 Column 2
Value 1 Value 2
Value 3 Value 4
Thumbnail Lorem ipsum dolor sit amet, consectetur adipiscing elit. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.

Single-row Table (Put the values as if they were column titles)

Anita Ekberg Lorem ipsum dolor sit amet, consectetur adipiscing elit. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.

Single-row Table in a Callout (needs a blank > line above the table)

The Gist
Thumbnail Lorem ipsum dolor sit amet, consectetur adipiscing elit. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.

Multiple lines in one cell

Philosophy Thumbnail Study of general and fundamental questions

wikipedia:: Philosophy

Blockquotes

This is blockquote text
This is the second line of text

Nested/indented Blockquotes

This is blockquote text
This is the second line of text

This is nested blockquotes content

Linebreaks

Markdown normally doesn't render linebreaks when doing normal returns. But you can force them if you end the line with 2 spaces.

Tools

How to convert between Markdown and HTML

Markdown
Interactive graph
On this page
Markdown
Flavors
Syntax
Code Blocks
Nested Code Blocks
Tables
Single-row Table (Put the values as if they were column titles)
Single-row Table in a Callout (needs a blank > line above the table)
Multiple lines in one cell
Blockquotes
Nested/indented Blockquotes
Linebreaks
Tools
How to convert between Markdown and HTML