Learning Markdown

Markdown is a lightweight markup language for creating formatted text using a plain-text editor.


The Basics

Rather than using a language like HTML or XML with bracket syntax, Markdown provides an easy way to write quickly formatted documents without complicated tags. Most commonly we see Markdown used in, README files on GitHub, static site generators, blog posts or wikis, and documentation or note-taking tools.

Syntax

Headers:

# H1 - Main title
## H2 - Section title
### H3 - Subsection

Emphasis:

*italic* or _italic_
**bold** or __bold__
~~strikethrough~~

Lists:

- this is 
- an 
- unordered list
1. This is 
2.  an 
3. ordered list

Links:

[Link](https://link.com)

Images:

![Alt text](image location or url)

Inline code:

Use `ls -la` to list files.

Code block:

```bash
echo "Hello, world!"

Blockquotes:

> This is a quote.
>> This is a nested quote.

Horizontal Rule:

---
or
***

Tables:

|Name |Role   |
|-----|-------|
|Chloe|Intern |

Task Lists:

- [x] Learn Markdown
- [ ] Finish documentation

Resources

  • Markdown Guide free and open-source reference guide that explains how to use Markdown

  • Markdown Practice write markdown on the left and see the formatted output on the right

  • Pandoc a tool to convert files from one markup language into another