> For the complete documentation index, see [llms.txt](https://docs.songbookplus.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.songbookplus.com/italiano/readme/songtexte-und-akkorde-importieren/aus-chordpro-dateien.md).

# Da file ChordPro

## Importare testo e accordi da file ChordPro <a href="#toc165549794" id="toc165549794"></a>

I file ChordPro vengono prima inseriti in SongBook come normali file di testo o PDF. Dopo l'apertura, viene visualizzato il contenuto originale non formattato del file ChordPro.

Con la voce di menu "Importa file ChordPro" si possono importare in modo simile ai file MP3 ([Da file MP3](/italiano/readme/songtexte-und-akkorde-importieren/aus-mp3-dateien.md)). Viene quindi generato un file PDF.

### Formattazione dei testi da file ChordPro

A partire dalla versione 6.4, SongBook+ può anche acquisire informazioni di formattazione dai file ChordPro e visualizzare sezioni come ritornello, strofa, ecc. con colori diversi o anche in corsivo o grassetto.

A tal fine vengono utilizzate diverse direttive tra parentesi graffe:

* {start\_of\_chorus} / {end\_of\_chorus} o brevemente {soc} / {eoc}
* {start\_of\_verse} / {end\_of\_verse} o brevemente {sov} / {eov}
* {start\_of\_bridge} / {end\_of\_bridge} o brevemente {sob} / {eob}
* {start\_of\_solo} / {end\_of\_solo}
* {start\_of\_intro} / {end\_of\_intro}
* {start\_of\_outro} / {end\_of\_outro}

Nelle impostazioni sotto "Importazione di testi e accordi" - "Formattazione del testo ChordPro" è possibile impostare il colore per ciascuna di queste sezioni e decidere se visualizzarle in grassetto e/o corsivo.

<figure><img src="/files/vIwCVxyIruUJHATjAMfS" alt=""><figcaption></figcaption></figure>

Uso diretto dei colori:

* {textcolour:x} o {textcolor:x} può cambiare a un colore specifico
  * Per x può essere utilizzato uno dei seguenti colori:

    red, green, blue, yellow, magenta, cyan, black
  * Invece di questi colori, può essere utilizzato anche il valore RGB esadecimale di un qualsiasi

    colore nel formato #RRGGBB, ad esempio #7A67EE
* {textcolor} o {textcolour} ritorna al colore standard nero


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.songbookplus.com/italiano/readme/songtexte-und-akkorde-importieren/aus-chordpro-dateien.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
