chordlib 0.15.0

Work with chord-and-lyrics songs: parse, transform, and render them to multiple formats
Documentation
use askama::Template;

#[derive(Template)]
#[template(path = "format_html.css", escape = "none")]
pub struct CssTemplate {
    scale: f32,
    has_footer: bool,
}

impl CssTemplate {
    pub fn new() -> Self {
        Self {
            scale: 1.0,
            has_footer: false,
        }
    }

    pub fn scale(mut self, scale: f32) -> Self {
        self.scale = scale;
        self
    }

    pub fn has_footer(mut self, has_footer: bool) -> Self {
        self.has_footer = has_footer;
        self
    }
}