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
- First ordered list item
- 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)

Sintaxi: taules
| Tables | Are | Cool |
| ------------- | :-----------: | ----: |
| col 3 is | right-aligned | $1600 |
| col 2 is | centered | $12 |
| zebra stripes | are neat | $1 |
Tables | Are | Cool |
---|---|---|
col 3 is | right-aligned | $1600 |
col 2 is | centered | $12 |
zebra stripes | are 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>.