0% found this document useful (0 votes)
2K views

Markdown Cheat Sheet

Paragraphs are separated by blank lines. Horizontal rules are created by lines of three or more hyphens, asterisks, or underscores. Links are created with inline text in square brackets followed by the URL in parentheses or with reference-style links. Headers are created with 1-6 # characters at the start of the line corresponding to header levels h1-h6. Blockquotes are created by lines prefixed with >. Phrase emphasis uses single asterisks or underscores. Strong emphasis uses double. Images use syntax ![Alt Text](url) or reference-style ![Alt Text][id]. Unordered lists use asterisks, plus signs, or hyphens. Ordered lists use numbers. Code blocks are indented with four spaces. Back

Uploaded by

comaide
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2K views

Markdown Cheat Sheet

Paragraphs are separated by blank lines. Horizontal rules are created by lines of three or more hyphens, asterisks, or underscores. Links are created with inline text in square brackets followed by the URL in parentheses or with reference-style links. Headers are created with 1-6 # characters at the start of the line corresponding to header levels h1-h6. Blockquotes are created by lines prefixed with >. Phrase emphasis uses single asterisks or underscores. Strong emphasis uses double. Images use syntax ![Alt Text](url) or reference-style ![Alt Text][id]. Unordered lists use asterisks, plus signs, or hyphens. Ordered lists use numbers. Code blocks are indented with four spaces. Back

Uploaded by

comaide
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Markdown Syntax Cheat Sheet

Paragraphs and Breaks

Horizontal Rules

Markdown accepts text on consecutive lines


as a hard-wrapped paragraph.
Put a blank Line in between to start a new graph.
If you want a break:
end your line with two spaces.
Hard to see in print, but its there.

--- or *** or ___

on a line by itself

Links
An [inline link](http://xrl.us/ "optional title").
A [reference link][id].

Headers
h1
==

and

h2
--

Setext-style
any number of underlines works

# h1
atx-style
## h2
opening hashes determine header level
...
###### h6 ##
closing hash(es) optional

> Blockquote.
>
> > Second paragraph in the blockquote, nested.
>
> ## This is an h2 in a blockquote

_em_

**strong**

creates linked URL


creates encoded mailto

Images

or __strong__

[id]: url/to/image

refrence-style
"Optional title attribute"

Code
Backticks format and auto-escape &, < and > in
code like `<blink>`, `&mdash;` and `&#8212;`.

Candy.
Gum.
Booze.

1. Ordered
2. List
3. Items

<http://example.com/>
<address@example.com>

![Alt text][id]

Lists

implicit link name shortcut

or un*fucking*believable

***em and strong*** or ___em and strong___

*
*
*

[Google][]

![Alt text](/path/to/img.jpg "Optional title")

Phrase Emphasis
or

[id]: http://example.com/ "optional title"


or
[id]: <http://example.com/> (optional title)
or
[id]: http://example.com/longish/path/to/resource
"optional title"

[Google]: http://google.com

Blockquotes

*em*

[id] defined elsewhere

or

+
+
+

Candy.
Gum.
Booze.

or

Candy.
Gum.
Booze.

start the list with number 1


otherwise number order doesnt matter

Preformatted code is also easy.&trade;


<strong>Just indent 4 spaces.</strong>
Double-backticks delimit literal backticks:
``Theres a backtick (`) here.`` and here: `` ` ``
A backtick-delimited string: `` `foo` ``

Escaping

A list item.
With multiple paragraphs.

Backslash (\) escapes the following characters:


\ ` * _ { } [ ] ( ) # + - . !

> And a blockquote

\*this text is surrounded by literal asterisks\*

Another List item with


a hard wrapped 2nd line.

Avoid accidental numbered lists by escaping:


1918\. What a great season.

10 PRINT "and a code block"

based on Markdown Syntax documentation for Markdown 1.0.1, created by John Gruber
for full syntax, visit http://daringfireball.net/projects/markdown/syntax
Markdown Syntax Cheat Sheet v1.0, design by Mark Boszko

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy