pub fn apply_format(input: &str, block: FormattedBlock) -> String