Welocme to MarkDown!

View all Markup Languages

What is a Markup Language?


They're text encoding systems which specifies the structure and the formatting of a document


What is markdown?


MarkDown is a Markup Language,that is easy to read and is simple. Created by John Gruber in 2004. It has been really popular with different flavors like GFM (Github Flavored MarkDown). Today we will be learning Base MarkDown.

What is MarkDown file extension?

File Extension for MarkDown is .md


Paragraphs

Paragraphs are simple text.


E.g.

Potatoes are my favorite

To write on multiple lines you can give an empty gap between the two lines


E.g.

I love Potatoes.



They are awesome


Headings


Headings are like titles


There are 6 levels of headings


Heading one

written like this with 1 #: #Heading one

Heading two

written with 2 #: ##Heading two

Heading three

written with 3 #: ###Heading two

Heading four

written with 4 #: ####Heading two

Heading five

written with 5 #: #####Heading five

Heading six

written with 6 #: ######Heading six


Different Flavors of MarkDown

There're many differrent of MarkDown made for specific purpose


One of the most common is GFM.


Text Formats

Markdown has Bold, Italic, crossed, highlight, subscript, and superscript.


We can also make Bold Italic.

Bold


Use double asterisks **Bold** or double underscores __Bold__

Italic


Use single asterisk *Italic* or single underscore _Italic_

Crossed


Use ~~Crossed~~

Highlight


Use double equals sign ==Highlight==

subscript


Use ~subscript~

superscript


Use ^SuperScript^

Bold Italic


Use ***Bold*** or ___Bold___


Code

For stuff like codes. They are 2 types of code in MarkDown: Inline code and Code block.

Inline Code


With this symbol ` : `code`

Code Block example for C #include preprocessor


```


#include<>


```


And will output as:



        #include<>
      

For syntax Highlight

```C


#include<>


```


Images

To include images in a markdown file do:

Syntax


![text](imageUrl)


e.g.


![Example](Example.png)


Hyperlinks

To create hyperlinks (clickabke text that leads to an URL) follow:

[Example](www.example.com)


BlockQuotes

To create blockquotes:

>First Level of BlockQuote

>

>First level of BlockQuote in a newline

>

>>Second level of

>>

>>>Last level if Blockquotes


Horizontal Rule

A line:

Text


---


Text


You can also replace --- with ___ or *** for same result.


Lists

Unordered Lists

To create unordered list (with dots-like) follow:

- This is an unordered list
- Pizza
- Dough
- Toppings
- Pepperoni
- Cheese
- Mozzarella
- Sauce
- Tomato
Ordered Lists

This is an ordered list (numbers):

1. I am an order List
2. Pizza
3. Pasta
and so on

Congratulations

You have completed the original MarkDown by John Gruber. Now test you skills.