Introduction to Markdown - GeeksforGeeks

03 Mar, 2022
If you have ever worked with git platforms like GitHub, BitBucket or Submitted any question or answers to an online forum, chances are you pretty much have unknowingly used Markdown. 
Markdown is a lightweight markup language. Created by John Gruber in 2004, Markdown is now one of the world’s most popular markup languages. And given below is a detailed explanation of its advantages and on using it. 
The extension for a Markdown file is .md or .markdown. To compile a markdown file you need an application capable of processing markdown files like Microsoft Word, Dillinger, etc. These applications use a Markdown processor or parser which converts a markdown file to printable HTML code. 
Advantages Of Markdown:  
It’s not made just for programmers, because you can write E-Books with it using leanpub.Convertible to formats like PDF, HTML, docs etc.You can format your mail using markdown with MarkdownHere.It is heavily used to write formatted pages across various platforms like StackOverflow, Github and many more.Markdown Files can be converted to webpages using tools like Github Pages, blot.im and smallvictori.es.
It’s not made just for programmers, because you can write E-Books with it using leanpub.
Convertible to formats like PDF, HTML, docs etc.
You can format your mail using markdown with MarkdownHere.
It is heavily used to write formatted pages across various platforms like StackOverflow, Github and many more.
Markdown Files can be converted to webpages using tools like Github Pages, blot.im and smallvictori.es.
It would be really helpful if you know the basics of Web Formatting, but no need to worry if you don’t, we will cover everything from Amateur to Professional. Markdown helps in creating all basic elements that you see on a web page like texts, lists, external links, images and many more. 
To start writing Markdown code there are plenty of tools available online. As you know the best way of learning something is by doing it. You can start executing code as shown below in any online Markdown editor like Dillinger. 
Given below is a syntax which will be useful to learn and later as a cheat sheet for writing Markdown codes.  
Headers Syntax:  
# Header1
## Header2
### Header3
#### Header4
....
Output:  
Output:  
Formatting Syntax:  
*This is Italic*
_This is also Italic_

**This is bold**
__This is also bold__

__This is a **combination**__
Output:  
Lists Syntax:  
1.One
2.Two
3.Three

- Elem 1
- Elem 2

* Member
* Another Member

- Elem Main
- Another one
    - Sub list
    - It's Member
 
 
 
 
Images & Links Syntax:  
    IMAGE :
![GeeksForGeeks Logo](
https://media.geeksforgeeks.org/wp-content/uploads/geeksforgeeks-6.png)

    LINK :
[GeeksForGeeks](https://www.geeksforgeeks.org/)
Output:  
Output:  
Code & Quotes Syntax:  
``` This is Some Code ```
Here Code is `Inline` .
> These are
> Some Quotes
Output:  
Output:  
This Article is a cheat sheet you can use for Markdown, For a detailed tutorial on Markdown syntax see daringfireball.net 
sumitgumber28
rkbhola5
Web Technologies
Web technologies Questions
Writing code in comment?
Please use ide.geeksforgeeks.org,
generate link and share the link here.
Remove elements from a JavaScript Array
Convert a string to an integer in JavaScript
How to fetch data from an API in ReactJS ?
Difference between var, let and const keywords in JavaScript
Differences between Functional Components and Class Components in React
Remove elements from a JavaScript Array
How to apply style to parent if it has child with CSS?
How to execute PHP code using command line ?
How to Insert Form Data into Database using PHP ?
Types of CSS (Cascading Style Sheet)