0% found this document useful (0 votes)
333 views

Markdown Cheat Sheet

# This document provides a cheat sheet for basic and extended Markdown elements. The basic elements include headings, bold, italics, blockquotes, lists, code, horizontal rules, links, and images. Extended elements include tables, fenced code blocks, footnotes, definition lists, task lists, and strikethrough. Markdown allows formatting of text content in a plain text format that can be displayed as valid HTML.

Uploaded by

Horizon The
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
333 views

Markdown Cheat Sheet

# This document provides a cheat sheet for basic and extended Markdown elements. The basic elements include headings, bold, italics, blockquotes, lists, code, horizontal rules, links, and images. Extended elements include tables, fenced code blocks, footnotes, definition lists, task lists, and strikethrough. Markdown allows formatting of text content in a plain text format that can be displayed as valid HTML.

Uploaded by

Horizon The
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

BASIC MARKDOWN ELEMENTS CHEAT SHEET

Content Element Syntax What it Looks Like

# H1 # This is an H1
Heading ## H2 ## This is an H2
### H3 ### This is an H3

This what makes text look **bold**


Bold **bold text** in a sentence

Italic *italicized text* and this is how to make *italics* in text

You can block quote a piece of


Blockquote > blockquote text with the greater than symbol

And if you want to create a numbered or


ordered list, <ol><li> </li></ol> in HTML,
1. First item just add the number followed by a full stop.

Orderd List 2. Second item 1. First item in the list


3. Third item 2. Second item in the list
3. Third item

while the unordered list equivalent is created


- First item with only a dash - like so:
Unordered - this list
- Second item
List - is not orderd
- Third item
- at all

And if you’re showing a code highlight,


it’s done through the backquote or `
Code `code`
\\this code does nothing
except comment

Horizontal and once you’re done you can


and once you’re done you can
use — to create a horizontal rule like so
Rule use---to create a horizontal rule like so

[Markdown Cheat Sheet] If you want to display a link, use [square


Link (http://www.collectiveray.com/
brackets] followed by (brackets) like this:

markdown-cheat-sheet) Markdown Cheat sheet

Finally, an image is a punctuation mark

![followed by square brackets


Image ![alt text](image.jpg) for the alt text] (and-brackets-
for-the-filename.jpg)
These elements extend the basic syntax by

EXTENDED SYNTAX adding additional features. But be careful, not all


Markdown applications support these elements.

Content Element Markdown Syntax What it Looks Like


| Row Name | Description |
Row Name Row Name
| ----------- | ----------- |
| Pipes | are the separators | Pipes are the separators

Table | Dashes with pipes | to separate Dashes to separate the header from
the header from the contents | with pipes the contents

| And then as many rows | as you And then as as you need separated
need separated by pipes| many rows by pipes

```
{
{
Fenced "string" : "triple backquote for “ ```” : “triple backquote for code” ,
Code Block code", “firstName” : “David”
"firstName": "David", "lastName": “lastname” : “Attard”
"Attard", “age” : 40
"age": 40 }

Here's how to create a reference


with a footnote. You can find the
Here’s how to create a reference with a
markdown cheatsheet here [^1]
footnote. You can find the markdown
Footnote or [^1]: And here is where you add
cheatsheet here1

Reference the 1. And here is where you add the link


[link](https://www.collectiveray. as your reference
com/markdown-cheat-sheet)
as your reference

mark down terms mark down terms


Definition
List : and their definition and their defination

- [x] You can have tasks, checked You can have tasks, checked with
with an x between dash - and an x between dash - and square brackets
Task List
square brackets - [ ] or dash and or dash and square brackets
square brackets for unchecked for unchecked

Last but we have the


Strikethrough ~~The world is flat.~~ ~~double tilde for strikethrough~~

You might also like