The Basics of Markdown

Markdown is a Markup Language meant for text editing. You might recognize it from Rentry, GitHub, or IM services like Discord. GitHub uses its own variant of Markdown for a project’s wiki and README. Markdown files end with .md.

Basic Markdown

# Header 1 Header 1
## Header 2 Header 2
### Header 3 Header 3
#### Header 4 Header 4
**bold** bold
*italics* bold
***bold italics*** Bold Italics
~~strikethrough~~ strikethrough
> blockquote
blockquote
1. Ordered list
2. ???
3. Profit
  1. Ordered List
  2. ???
  3. Profit
- Unordered list
- Bread
- Milk
- Eggs
  • Unordered List
  • Bread
  • Milk
  • Eggs
`/*code*/` /*code*/
[link]https://example.com link
```
/*code block*/
let greeting =  “Hello World!”;
let title = document.getElementById(“title”)
title.innerText = greeting;
// Please note that this is not available on all platforms that use markdown 
```
            
```
/*code block*/
let greeting =  “Hello World!”;
let title = document.getElementById(“title”)
title.innerText = greeting;
// Please note that this is not available on all platforms that use markdown 
```
            

GitHub Exclusive Markdown

- List
..- Sublist
..1. Sublists don't have to be the same list type as their parent
  • List
    • Sublist
    1. Sublists don't have to be the same list type as their parent
```javascript
/*specifying the language enables syntax highlighting*/
for (let i = 0; i < 10; i++) {
   console.log(“Hello World!”);
}
```
            
/*specifying the language enables syntax highlighting*/
for (let i = 0; i < 10; i++) {
   console.log(Hello World!);
}
            

Refrences and Further Reading

previous next contents