Obrir la presentació

Llenguatge de marques Markdown


Què és Markdown?

  • Markdown és un llenguatge de marques lleuger que permet escriure en un format de text pla fàcil d'escriure i llegir, i després convertir-lo en XHTML o HTML
  • El llenguatge té moltes similituds amb les convencions ja existents per donar format al text pla en correus electrònics
  • És àmpliament utilitzat per a documents a GitHub (README.md, etc.)
  • Els fitxers de markdown tenen l'extensió de fitxer .md

Sintaxi: negreta, cursiva i ratllat

Emphasis, aka italics, with _underscores_.

Strong emphasis, aka bold, with **asterisks**.

Combined emphasis with **asterisks and _underscores_**.

Strikethrough uses two tildes. ~~Scratch this.~~

Emphasis, aka italics, with underscores.

Strong emphasis, aka bold, with asterisks.

Combined emphasis with asterisks and underscores.

Strikethrough uses two tildes. Scratch this.


Sintaxi: capçaleres

# H1

## H2

### H3

#### H4

H1

H2

H3

H4


Sintaxi: llistes

1. First ordered list item
2. Another item

- Unordered list can use asterisks

* Or minuses

- Or pluses
  1. First ordered list item
  2. Another item
  • Unordered list can use asterisks
  • Or minuses
  • Or pluses

Sintaxi: enllaços i imatges

[I'm an inline-style link](https://www.google.com)

![alt text](https://github.com/adam-p/markdown-here/raw/master/src/common/images/icon48.png "Logo Title Text 1")

I'm an inline-style link

alt text


Sintaxi: taules

| Tables        |      Are      |  Cool |
| ------------- | :-----------: | ----: |
| col 3 is      | right-aligned | $1600 |
| col 2 is      |   centered    |   $12 |
| zebra stripes |   are neat    |    $1 |
TablesAreCool
col 3 isright-aligned$1600
col 2 iscentered$12
zebra stripesare neat$1

Sintaxi: blocs de codi

Inline `code` has `back-ticks around` it.

```
No language indicated, so no syntax highlighting.
But let's throw in a <b>tag</b>.
```

Inline code has back-ticks around it.

No language indicated, so no syntax highlighting.
But let's throw in a <b>tag</b>.

🔗 Enllaços