tack

Function coloured_html

Source
pub fn coloured_html(s: String) -> String
Expand description

Marks up CSS to coloured HTML

Assumptions: no trailing whitespace CSS is valid and properly formatted

ยงExamples

Basic usage:

let s =  let a = "
body {
	display: flex;
	min-height: 100%;
}".to_string();
coloured_html(s);