Skip to main content

format_scss

Function format_scss 

Source
pub fn format_scss(input: &str) -> String
Expand description

Formats SCSS (.scss) matching VS Code Prettier 3.7.4 (singleQuote: true, tabWidth: 2).

§Arguments

  • &str - Raw SCSS stylesheet text.

§Returns

  • String - Formatted SCSS text, or unchanged input if syntax errors occur.