What is Markdown ?
Markdown is the markup language that you can use to add formatting elements to plaintext text documents. It have .md extension.
Headings
Every page contain atleast one or more heading. Markdown provide you different level of heading. We can give heading using '#' symbol. This hash(#) symbol will decide the level of heading.
Syntax:
# heading1
## heading2
### heading3
#### heading4
##### heading5
###### heading6
Bold
We can bold any text using
**
OR__
Syntax:
**Text**
__Text__
Both will give same output.
Italic
We can give Italic style to any text using
*
OR_
Syntax:
*Text*
_Text_
Both will give same output.
Strike Through
We can strike on any text by using
~
Syntax:
~~799~~
Paragaraph
By just writting Normal Text we can write paragraph.
example:
Hello From My Side, Hope You All Are Doing Great!
List
Two Types of List ordered list(ol) and unordered List(ul).
OrderList Synatx:
1. List1
2. List2
UnorderList Synatx:
-List1
-List2
Link
By using
[]
(squareBracktes) and()
(Parentheses) we can upload any link.
Syntax:
[AlternativeText](Link Of the Webpage)
Example:
[LCO](https://learncodeonline.in)
Image
By using
[]
(squareBracktes) and()
(Parentheses) we can upload any image.
Syntax:
[AlternativeText](Link Of the Image)
Example:
![LCO](https://learncodeonline.in/mascot.png)
ALTERNATIVE TEXT alias alt text is shown when failure to fetch an Image
Code Snippet
It starts with triple back ticks(```) and ends with the same
Syntax:
```
for(int i=0; i<4; i++)
{
}
```
Quoting text
By using
>
You can quote the text.
Syntax:
> This Is Quoting text.
Table
A table is made using pipes |
and hyphens -
.
Synatx:
| FirstName | LastName | Course|
| ------------- | -------------| -------- |
| Name1 | LastName1 | Course1 |
| Name2 | LastName2 | Course2 |
Breaking Sections
By using
***
OR___
, We can break one section with other section creating a Line between them.
Syntax:
Section 1
***
Section 2
___
Section 3
Hope you have enjoyed🎉 learning the markdown formatting and syntax!💫 Will come with something new next time🚀, till then Keep Learning, Keep Exploring✨