kirei 25.10.27

Askama formatter
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#![allow(clippy::uninlined_format_args)]

pub mod askama;
mod config;
pub mod formatter;
mod html;
mod sakura_tree;
mod wire;
mod woodcut;

pub use crate::formatter::AskamaFormatter;

pub fn normalize_whitespace(text: &str) -> String {
    text.split_whitespace().collect::<Vec<_>>().join(" ")
}