# From ChordPro Files

## Import lyrics and chords from ChordPro files <a href="#toc165549794" id="toc165549794"></a>

ChordPro files are first inserted into SongBook like normal text or PDF files. After opening, you can then display the unformatted original content of the ChordPro file.

With the menu item "Import ChordPro file," they can be imported similarly to MP3 files ([aus-mp3-dateien](https://docs.songbookplus.com/english/readme/songtexte-und-akkorde-importieren/aus-mp3-dateien "mention")). A PDF file is then generated.

### Formatting lyrics from ChordPro files

Starting with version 6.4, SongBook+ can also adopt formatting information from ChordPro files and display sections like chorus, verse, etc., with different colors or in italic or bold.

For this purpose, various directives in curly braces are used:

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

In the settings under "Import lyrics and chords" - "Format ChordPro text," you can set the color for each of these sections and whether the section should be displayed in bold and/or italic.

<figure><img src="https://2961795397-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUd6jgszxLuhJfHuCabdk%2Fuploads%2Fgit-blob-4126f978dbd88d921df80590d1519b40ac6115c9%2FDarstellung-ChordPro-Einstellungen.png?alt=media" alt=""><figcaption></figcaption></figure>

Direct use of colors:

* {textcolour:x} or {textcolor:x} can switch to a specific color
  * For x, you can use one of the following colors:

    red, green, blue, yellow, magenta, cyan, black
  * Instead of these colors, the hexadecimal RGB value of any

    color can be used in the format #RRGGBB, e.g., #7A67EE
* {textcolor} or {textcolour} switches back to the standard color black


---

# Agent Instructions: 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:

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

The question should be specific, self-contained, and written in natural language.
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.
