Support rich multi-paragraph notes with formatting #7

Closed
opened 2026-03-17 09:06:25 +01:00 by shahondin1624 · 0 comments

Description

The real songbook has extensive contextual notes — sometimes multiple paragraphs with historical background, song origin stories, and cultural context. Examples from the PDF:

  • "Nicht nur nebenbei" — full paragraph about the song's creation history with quotes
  • "Andre, die das Land" — biographical paragraph about Theodor Kramer
  • "Scarborough fair" — historical background about the medieval fair

The current notes field supports only simple single lines. It needs to support multi-paragraph text, possibly with basic formatting (e.g. italic for titles like Codex Patomomomensis).

Scope

  • Model: Change notes representation to support multiple paragraphs and inline formatting
  • Parser: Support multi-line note blocks in ChordPro files (e.g. {start_of_notes} / {end_of_notes} block directive)
  • Renderer: Paragraph layout with word wrap for notes content
  • Measurement Engine: Account for note height in song page layout calculations
## Description The real songbook has extensive contextual notes — sometimes multiple paragraphs with historical background, song origin stories, and cultural context. Examples from the PDF: - **"Nicht nur nebenbei"** — full paragraph about the song's creation history with quotes - **"Andre, die das Land"** — biographical paragraph about Theodor Kramer - **"Scarborough fair"** — historical background about the medieval fair The current `notes` field supports only simple single lines. It needs to support multi-paragraph text, possibly with basic formatting (e.g. italic for titles like *Codex Patomomomensis*). ## Scope - **Model:** Change notes representation to support multiple paragraphs and inline formatting - **Parser:** Support multi-line note blocks in ChordPro files (e.g. `{start_of_notes}` / `{end_of_notes}` block directive) - **Renderer:** Paragraph layout with word wrap for notes content - **Measurement Engine:** Account for note height in song page layout calculations
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: shahondin1624/songbook#7