Skip to main content

parse_stylesheet

Function parse_stylesheet 

Source
pub fn parse_stylesheet(input: &str) -> Result<Vec<StyleRule>>
Expand description

Parse a stylesheet string into rules.

Format:

* { model: "claude-3-opus"; reasoning_effort: "high" }
.fast { model: "claude-3-haiku"; reasoning_effort: "low" }
#critical_node { model: "claude-3-opus"; provider: "anthropic" }