Functions
resolve_syntax_theme
1
str
▼
Resolve which syntax palette to use based on site configuration.
This implemen…
resolve_syntax_theme
1
str
▼
def resolve_syntax_theme(config: dict[str, Any]) -> str
Resolve which syntax palette to use based on site configuration.
This implements the "auto" theme inheritance from RFC-0003:
- If theme is "auto", inherit from default_palette
- Otherwise, use the explicitly specified theme
Parameters
| Name | Type | Description |
|---|---|---|
config |
dict[str, Any] |
Full site configuration dictionary. |
Returns
str
resolve_css_class_style
1
CssClassStyle
▼
Resolve which CSS class style to use for syntax highlighting.
resolve_css_class_style
1
CssClassStyle
▼
def resolve_css_class_style(config: dict[str, Any]) -> CssClassStyle
Parameters
| Name | Type | Description |
|---|---|---|
config |
dict[str, Any] |
Full site configuration dictionary. |
Returns
CssClassStyle