title | author | description |
---|---|---|
Markdown introduction |
Ashkan Mirzaee |
An introduction to Markdown |
Markdown is a text-to-HTML conversion tool for web writers. Markdown allows you to write using an easy-to-read, easy-to-write plain text format, then convert it to structurally valid XHTML (or HTML). A Markdown document could contain chunks of embedded graphics, source codes and LaTeX formula. A basic knowledge about Markdown could help you to create HTML documents such as weblogs or reports easily. This tutorial provides a quick reference to use Markdown.
Italic and Bold
Scratched Text
superscript^2^
Markdown doesn't support underline, but we can use HTML Text instead. Also, we can render almost any HTML code that we like such as superscript2.
- Item 1
- Item 2
- Item 2a
- Item 2b
- Item 2b-1
- Item 2b-2
- Item 1
- Item 2
- Item 3
- Item 3a
- Item 3b
![logo](https://www.raspberrypi.org/app/uploads/2018/03/RPi-Logo-Reg-SCREEN-199x250.png "Raspberry pi")
Imagination is more important than knowledge.
Albert Einstein
Use three dashes ---
to draw an horizontal line like:
1st Header | 2nd Header | 3rd Header |
---|---|---|
col 1 is | left-aligned | 1 |
col 2 is | center-aligned | 2 |
col 3 is | right-aligned | 3 |
In Markdown, we can simply add plain code blocks to display (not evaluating) by inserting triple back quote i.e. ```
. For example:
norm = function(x) {
sqrt(x%*%x)
}
norm(1:4)
For inline plain codes use single back quote before and after the code, for example we defined this codes here
in this way.
We can use inline LaTex equassion by using sigle $
before and after the equation for example $
such that: