dgmxjj/moonbit-posterkit/template does not have a README file

    ContentDensity

    pub(all) enum ContentDensity {
    Sparse
    Balanced
    Dense
    } derive(Eq,
    Debug
    )

    ContentProfile

    pub(all) struct ContentProfile {
    characters : Int
    non_empty_fields : Int
    density : ContentDensity
    has_image : Bool
    } derive(Eq,
    Debug
    )

    TemplateContent

    pub(all) struct TemplateContent {
    eyebrow : String
    title : String
    subtitle : String
    body : String
    cta : String
    footer : String
    image_label : String
    image_asset_id : String
    } derive(Eq, ToJson,
    Debug
    ,
    FromJson
    )

    content_summary

    fn content_summary(content : TemplateContent) -> String

    density_text

    fn density_text(density : ContentDensity) -> String

    profile_content

    fn profile_content(content : TemplateContent) -> ContentProfile