Home

Awesome

Markdown Tutorial

Hello, welcome to my tutorial for markdown. ๐Ÿ‘‹

In this tutorial you will learn the most basics things about Markdown. ๐Ÿ‘ฉโ€๐Ÿซ๐Ÿ‘จโ€๐Ÿซ


Tables of contents

  1. What is Markdown?
  2. Why use Markdown?
  3. Tools for Markdown
  4. Markdown Syntax

<div id='whatismarkdown'/>

What is markdown ?

According to Wikipedia :

Markdown is a lightweight markup language with plain text formatting syntax designed so that it can be converted to HTML and many other formats using a tool by the same name. Markdown is often used to format readme files, for writing messages in online discussion forums, and to create rich text using a plain text editor.

SIMPLY: IT'S JUST ANOTHER TYPE OF TEXT FILE, LIKE .txt .doc ....( now it's .md :laughing:) AND IT HAS SOME SPECIAL SYNTAX.

<div id='why'/>

There is no clearly defined Markdown standard. This has led to fragmentation as different vendors write their own variants of the language to correct flaws or add missing features.. A list of markdown flavour is available here.

From now, this guide will mainly focus on Github Flavoured Markdown.

Why use markdown?

Because it's :

<div id='tools'/>

Tools for markdown

As said above, any editors can be used to edit markdown. However, there are a few tools that may be useful for you when it comes to edit markdown.

<div id='syntax'/>

Markdown Syntax

All Syntax can be found here . It would take a lot of effort to describe syntax in text (they will be formatted) so please consider this table below for the whole basics syntax.

FormatSyntaxExample
Italic*Text*This is italic
Bold**Bold**This is bold
Inline links[Description text](url here)A link
Images![Caption](url to img)An image image
Link+images[![Caption](url to img)](url to a page)]Click me me
FootnotesI have more [^1] to say. [^1]: say it down here.<a href="#section1">Hey,Please read the note below this table.
Line breaksDouble space + enter
Unordered Lists* Item1 *Item 2<ul><li>item1</li><li>item2</li><li>item3</li><li>item4</li></ul>
Ordered Lists1. Item a 2. Item b<ol><li>itema</li><li>itemb</li><li>itemc</li><li>itemd</li></ol>
Mixed Lists1. Item 1 * item 1a<ol><li>itema</li></ol><ul><li> item1</li></ul>
Block quote> Quoted text<blockquote>Stay Hungry Stay Foolish</blockquote>
PreformattedBegin each line with,two spaces or more to,make text look,e x a c t l y,like,you,type i,t.Begin each line with,two spaces or more to,make text look,e x a c t l y,like,you,type i,t.
Code`Insert Code`cout<<"Hello world";
Code block/ Syntax highlighting```insert code```<a href="#section1">Hey,Please read the note below this table.
Headers#, ##, ###, ####, #####, ###### (from h1 to h6)<h3>This is a h3 header</h3>
Strike through~Insert text here~I am dead
Tables| Tables | Are | Cool | |----------|:-------------:|------:| | col 1 is| left-aligned | $1600 |
FootnotesFootnote[^1] <br> [^1]: Text referenceHere is a simple footnote1. With some additional text after it.

<br></br> <br></br>

<p id="section1">Note: **Footnote** actually doesnt render properly in table, but it kinda looks like this </p>


<br></br> The same goes for block code/syntax hightlighting. It kinda looks like this picture :

.

These characteristics are dependent upon each markdown flavour.

Useful notes :

They can't be added directly but you can add an image with a link to the video like this:
<a href="http://www.youtube.com/watch?feature=player_embedded&v=YOUTUBE_VIDEO_ID_HERE
" target="_blank"><img src="http://img.youtube.com/vi/YOUTUBE_VIDEO_ID_HERE/0.jpg" 
alt="IMAGE ALT TEXT HERE" width="240" height="180" border="10" /></a>
- text in red
+ text in green
! text in orange
# text in gray
@@ text in purple (and bold)@@

Note:

Warning:

Author: Vo Tran Thanh Luong. Also, I would like to thank all the contributors/translators for your work making this greater.

Footnotes

  1. My footnote reference. โ†ฉ