chordsketch-render-text 0.4.0

Plain text renderer for ChordPro documents
Documentation

chordsketch-render-text

Plain text renderer for ChordPro documents. Renders songs with chords positioned above lyrics using Unicode-aware column alignment.

Part of the ChordSketch project.

Usage

use chordsketch_chordpro::parser::parse;
use chordsketch_render_text::render_song;

let input = "{title: Amazing Grace}\n[G]Amazing [G7]grace";
let song = parse(input).unwrap();
let text = render_song(&song);

println!("{text}");

Features

  • Chords above lyrics with Unicode-aware alignment
  • Multi-column layout
  • Section labels (verse, chorus, etc.)

Links

License

MIT