Learn Markdown
Table of Markdown content
Click on any topic to go there
What is Markdown?
Markdown is the formatting elements to plaintext text documents.Markdown documents are readable without tags. Behind the seen it has been converted to html. It use to style text,list, table etc.You can consider markdown as regular text.
Heading Syntax of Markdown
###### Heading-6
##### Heading-5
#### Heading-4
### Heading-3
## Heading-2
# Heading-1
Example of markdown heading
Heading-6
Heading-5
Heading-4
Heading-3
Heading-2
Heading-1
You can use this heading-1 syntax
=================================
Example
You can use this heading-1 syntax
You can use this heading-2 syntax
---------------------------------
Example
You can use this heading-2 syntax
Comment Syntax of Markdown
[//]: # (This is recommended Comment Syntax)
Text Formatting Syntax of Markdown
Bold text
**Bold text with 2 stars in both side**
__Bold text with 2 underscore in both side__
Example
This is Bold text example with 2 stars
This is Bold text example with 2 underscore
I love Bangladesh
We are learning markdown language
*Double underscore not work to bold
I love Bangladesh
Italic Text
*Italic text with 1 star in both side*
_Italic text with 1 underscore in both side_
Example
This is Bold text example with 2 stars
This is Bold text example with 2 underscore
Bold & Italic at a time
***Bold italic text Syntax***
___Bold italic text Syntax___
*__Bold italic text Syntax__*
_**Bold italic text Syntax**_
Example
Bold italic text
Bold italic text
Bold italic text
Bold italic text
Paragraph
Line Breack
The world's eighth largest country in population Bangladesh , although the size of small islands
city-states after the 9 th 6 of the world's most densely populated country, Bangladesh . With an estimated population (2016) of this small country of less than 56,000 square miles,
the population is more than 160 million, or 279 people per square mile (1115 people per square kilometer).
Way to center text
The world's eighth largest country in population Bangladesh , although the siaze of small islands and city-states after the 9 th 6 of the world's most densely populated country, Bangladesh . With an estimated population (2016) of this small country of less than 56,000 square miles, the population is more than 160 million, or 279 people per square mile (1115 people per square kilometer).
Escaping Syntax of Markdown
\# Backslash escape to work
Example
# Backslash escape to work
- Backslash escape to work
\* Backslash escape to work
Blockquote Syntax of Markdown
This is blockquote
Inside the Parent
Inside the 2nd parent
This is blockquote
Inside the parent
Inside the 2nd parent
One line gap to create new blockquote
Strikethrough Syntax of Markdown
~~Line cutted~~
Example
Line cutted
Horizontal Line Syntax of Markdown
---
***
___
Example
List Syntax of Markdown
Order list
1. Jubaer
1. Mohammad
1. Mitu
1. Bizly
Example
- Jubaer
- Mohammad
- Mitu
- Bizly
Unodder list
- Akter Hossain
* Arif Hossain
+ Korim Hossain
Example
- Akter Hossain
- Arif Hossain
- Korim Hossain
Link Syntax of Markdown
[Link Text](https://www.darunit.com "Visit Boos")
To know more about us visit [Darun IT]
Example
To know more about us visit Darun IT
Emoji Syntax of Markdown
:heart: you can copy only emoji 💬
Example
❤️ you can copy only emoji 💬
Image Syntax of Markdown
![Darun IT Logo](logo.png "Logo")
Example
Linkable Image
[![Darun IT Logo](https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTZVBxXXB2ET_ZNUuNzOE7mvx1fnYOSiUmPzA&usqp=CAU "Download Icon")](https://www.fb.com "Click to download")
Way to center image
Table Syntax of Markdown
No | Icon | Shortcode
---|------|----------
01 | ❤️ | `:heart:`
02 | 👁️🗨️ | `:eye_speech_bubble:`
03 | 👍 | `:+1:`
Example
No | Icon | Shortcode |
---|---|---|
01 | ❤️ | :heart: |
02 | 👁️🗨️ | :eye_speech_bubble: |
03 | 👍 | :+1: |
Code Block Syntax of Markdown
Inline Code Block
This is a variable `let name = "Jubaer"`
Example
This is a variable let name = "Jubaer"
Multi Line Code Block
Use 3 backtick for multi line code block
Html code
Example
function fancyAlert(arg) {
if(arg) {
$.facebox({div:'#foo'})
}
}
Fancy Code Block of Markdown
javascript
function fancyAlert(arg) {
if(arg) {
$.facebox({div:'#foo'})
}
}
Example
function fancyAlert(arg) {
if(arg) {
$.facebox({div:'#foo'})
}
}
Collapsible Content of Markdown
<details>
<summary>About Jubaer Ahmad</summary>
# His education
Jubaer Ahmad is a full stack web developer.
He love to teach people, he is expart in javascript, php and markdown
</details>
Example
About Jubaer Ahmad
# His education
Jubaer Ahmad is a full stack web developer.
He love to teach people, he is expart in javascript, php and markdown
Check Box Syntax of Markdown
- [ ] Check Box
- [x] Check Box
Example
- [ ] Check Box
- [x] Check Box
Keyboard Button of Markdown
To Select All: <kbd>CTRL</kbd> + <kbd>A</kbd>
Example
To Select All: CTRL + A
Badge Syntax of Markdown
[![Youtube Channel](https://img.shields.io/badge/Darun%20IT-Subscribe-red)](https://www.youtube.com/darunit "My youtube Channel")
Example
Mention Syntax of Markdown
Use @ to mention a user on gitgub
Example
Top comments (0)