Function format_toml
Source pub fn format_toml(input: &str) -> String
Expand description
Formats TOML files matching VS Code tamasfe.even-better-toml (Taplo 0.7.0 defaults with 4-space indentation).
§Arguments
&str - Raw TOML source text.
§Returns
String - Formatted TOML text, or unchanged input if syntax errors occur.