streamdown-config-0.1.1 has been yanked.
streamdown-config
Configuration loading and management for the streamdown streaming markdown renderer.
Overview
This crate handles configuration:
- Config file loading - TOML configuration from standard paths
- Style computation - HSV-based color theme generation
- Default values - Sensible defaults for all settings
- Runtime configuration - Programmatic configuration API
Configuration Paths
Configuration is loaded from (in order of precedence):
$XDG_CONFIG_HOME/streamdown/config.toml~/.config/streamdown/config.toml~/.streamdown.toml
Example Configuration
[]
= 0.6 # Base hue (0.0-1.0)
= 2 # Left margin
[]
= true # OSC 52 clipboard
= true # Save code blocks to temp files
Usage
[]
= "0.1"
use Config;
let config = load?;
println!;
Part of Streamdown
This is a component of streamdown-rs, a streaming markdown renderer for modern terminals.
License
MIT