Home / code / markdown

Structure and syntax of Markdown

Syntax rules

The syntax is very simple:

  • Paragraphs are separated by a blank line.
  • Headers start with a hash-tag #.
    each level of headers has more hash-tags.
  • To set italic, set it between stars *
  • In bold is between 2 stars **
  • Code is between `
  • Blockquote, start the line >
  • A horizontal line are 3 dashes ---

An unordered list is a line starting with a dash -
Order list start with a number,a point and space. It makes it own order, the numbers are not used.
1. First item
5. Second item
6. Third item
Will be:

  1. First item
  2. Second item
  3. Third item

A Link [title](http://www.example.com)
Image ![alt text](image.jpg)

Table are a bit more complicated.
Each cell is separated by a pipe |.
And the head section is separated by a row of dashes -.
Example:
| Syntax | Description |
| ----------- | ----------- |
| Header | Title |
| Paragraph | Text |

 

TOP

Latest script:

 

Books: