Method Web.Sass.Api()->compile_string()
- Method
compile_string
string(8bit)compile_string(string(8bit)source)- Description
Compiles the string
sourceand returns the generated CSS.- Parameter
source The string to compile
- Returns
A mapping with the generated CSS and source mapping file if such is set to be generated
"css":string(8bit)The generated CSS
"map":string(8bit)The generated source mapping data
- Note
If the
sourcecontain @import directives you have to explicitly set the include path via include_path.