# Introduction à Markdown

## Table of Contents

- Syntaxe
  - Headers
  - Emphasis
  - Lists
    - Unordered
    - Ordered
  - Images
  - Links
  - Blockquotes
  - Inline code
- Écrire des Maths
  - Lettres grecques
  - Operators

Voici un aperçu rapide de la syntaxe Markdown repris d'une présentation de Github ainsi que de celles d'Archer Reilly et de James H. Steiger.

## Syntaxe

### Headers

    # This is an <h1> tag
    ## This is an <h2> tag
    ###### This is an <h6> tag

### Emphasis

    *This text will be italic*
    _This will also be italic_

    **This text will be bold**
    __This will also be bold__

    _You **can** combine them_

### Lists

#### Unordered

    * Item 1
    * Item 2
      * Item 2a
      * Item 2b

#### Ordered

    1. Item 1
    1. Item 2
    1. Item 3
       1. Item 3a
       1. Item 3b

### Images

    ![GitHub Logo](/images/logo.png)
    Format: ![Alt Text](url)

### Links

    http://github.com - automatic!
    [GitHub](http://github.com)

### Blockquotes

    As Kanye West said:

    > We're living the future so
    > the present is our past.

### Inline code

    I think you should use an
    `<addr>` element here instead.

## Écrire des Maths

Equations can be formatted inline or as displayed formulas. In the latter case, they are centered and set off from the main text. In the former case, the mathematical material occurs smoothly in the line of text.

In order to fit neatly in a line, summation expressions (and similar constructs) are formatted slightly differently in their inline and display versions.

Inline mathematical material is set off by the use of single dollar-sign characters. Consequently, if you wish to use a dollar sign (for example, to indicate currency), you need to preface it with a back-slash. The following examples, followed by their typeset versions, should make this clear

    This summation expression $\sum_{i=1}^n X_i$ appears inline.

This summation expression \(\sum_{i=1}^n X_i\) appears inline.

    This summation expression is in display form.

    $$\sum_{i=1}^n X_i$$

This summation expression is in display form.

\[\sum_{i=1}^n X_i\]

### Lettres grecques

Symbole | Commande
--- | ---
\(\alpha\) | `$\alpha=`
\(\beta\) | `$\beta$`
\(\gamma\) | `$\gamma$`
\(\Gamma\) | `$\Gamma$`
\(\pi\) | `$\pi$`

### Operators