Pubblicità

Guida alla Sintassi Markdown

Riferimento completo per la formattazione markdown con esempi visualizzati

1. Intestazioni

Le intestazioni creano struttura e gerarchia nel documento. Usa i simboli # (1-6) per creare intestazioni di diversi livelli.

Markdown
# Heading 1
## Heading 2
### Heading 3
#### Heading 4
##### Heading 5
###### Heading 6
Renderizzato

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6
Suggerimento: Lascia sempre uno spazio dopo i simboli #. Inizia con H1 per il titolo principale, poi usa H2-H6 per le sottosezioni.

2. Formattazione del Testo

Markdown offre diversi modi per enfatizzare e formattare il testo.

Markdown
**Bold text** or __also bold__

*Italic text* or _also italic_

***Bold and italic***

~~Strikethrough text~~

This is `inline code`

Normal paragraph text.
Renderizzato

Bold text or also bold

Italic text or also italic

Bold and italic

Strikethrough text

This is inline code

Normal paragraph text.

3. Elenchi

Crea contenuti organizzati con elenchi non ordinati (puntati) e ordinati (numerati).

Elenchi non ordinati

Markdown
- First item
- Second item
  - Nested item
  - Another nested
- Third item

* Asterisks work too
+ Plus signs also work
Renderizzato
  • First item
  • Second item
    • Nested item
    • Another nested
  • Third item
  • Asterisks work too
  • Plus signs also work

Elenchi ordinati

Markdown
1. First step
2. Second step
3. Third step
   1. Sub-step A
   2. Sub-step B
4. Fourth step
Renderizzato
  1. First step
  2. Second step
  3. Third step
    1. Sub-step A
    2. Sub-step B
  4. Fourth step

5. Codice

Visualizza il codice con la formattazione corretta usando codice inline o blocchi di codice recintati.

Codice inline

Markdown
Use `const` for constants.

Run `npm install` to begin.
Renderizzato

Use const for constants.

Run npm install to begin.

Blocchi di codice

Markdown
```javascript
function greet(name) {
  return `Hello, ${name}!`;
}

console.log(greet('World'));
```
Renderizzato
function greet(name) {
  return `Hello, ${name}!`;
}

console.log(greet('World'));
Indicazione lingua: Aggiunga il nome del linguaggio dopo i ``` di apertura per abilitare l'evidenziazione della sintassi (es. ```javascript, ```python, ```css).

6. Citazioni

Usa le citazioni per evidenziare testo importante, citazioni o note.

Markdown
> This is a blockquote.
> It can span multiple lines.

> Nested quotes work too:
>
> > This is a nested quote.
>
> Back to the outer quote.
Renderizzato
This is a blockquote. It can span multiple lines.
Nested quotes work too:
This is a nested quote.
Back to the outer quote.

7. Tabelle

Crea tabelle di dati strutturate usando pipe (|) e trattini (-).

Markdown
| Feature | Status |
|---------|--------|
| Templates | 16 available |
| Colors | 20 schemes |
| Fonts | 35+ families |

| Left | Center | Right |
|:-----|:------:|------:|
| L    | C      | R     |
Renderizzato
Feature Status
Templates16 available
Colors20 schemes
Fonts35+ families
Left Center Right
L C R
Allineamento colonne: Usa i due punti nella riga separatrice: :--- per sinistra, :---: per centro, ---: per allineamento a destra.

8. Linee orizzontali

Crea separazioni visive tra le sezioni usando tre o più trattini, asterischi o underscore.

Markdown
Section one content.

---

Section two content.

***

Section three content.
Renderizzato

Section one content.


Section two content.


Section three content.

9. Liste di attività

Crea checklist interattive per monitorare i progressi o gli elementi da fare.

Markdown
## Project Tasks

- [x] Design mockups
- [x] Write documentation
- [ ] Code review
- [ ] Deploy to production
Renderizzato

Project Tasks

  • Design mockups
  • Write documentation
  • Code review
  • Deploy to production

10. Funzionalità avanzate

Sintassi markdown estesa per documenti complessi.

Note a piè di pagina

Markdown
Here is a sentence with a footnote[^1].

[^1]: This is the footnote content.
Renderizzato

Here is a sentence with a footnote[1].


[1] This is the footnote content.

Liste di definizioni

Markdown
Term 1
: Definition of term 1

Term 2
: Definition of term 2
Renderizzato
Term 1
Definition of term 1
Term 2
Definition of term 2

Escape dei caratteri

Caratteri di escape
\*Not italic\*  →  *Not italic*
\# Not a heading  →  # Not a heading
\`Not code\`  →  `Not code`

Riferimento rapido

# Heading 1 Intestazione
**bold** Testo in grassetto
*italic* Testo in corsivo
[text](url) Link
![alt](img.jpg) Immagine
`code` Codice inline
```lang Blocco di codice
> quote Citazione
- item Elenco puntato
1. item Elenco numerato
--- Linea orizzontale
- [x] done Elemento lista di attività

Pronto a scrivere?

Usi Velvet MD per trasformare il Suo markdown in documenti splendidamente formattati.

Apra Velvet MD
Pubblicità