| Crates.io | streamdown-config |
| lib.rs | streamdown-config |
| version | 0.1.3 |
| created_at | 2025-12-31 20:22:08.02972+00 |
| updated_at | 2025-12-31 21:04:24.861237+00 |
| description | Configuration loading and management for streamdown |
| homepage | |
| repository | https://github.com/fed-stew/streamdown-rs |
| max_upload_size | |
| id | 2015290 |
| size | 58,170 |
Configuration loading and management for the streamdown streaming markdown renderer.
This crate handles configuration:
Configuration is loaded from (in order of precedence):
$XDG_CONFIG_HOME/streamdown/config.toml~/.config/streamdown/config.toml~/.streamdown.toml[style]
hue = 0.6 # Base hue (0.0-1.0)
margin = 2 # Left margin
[features]
clipboard = true # OSC 52 clipboard
savebrace = true # Save code blocks to temp files
[dependencies]
streamdown-config = "0.1"
use streamdown_config::Config;
let config = Config::load()?;
println!("Margin: {}", config.style.margin);
This is a component of streamdown-rs, a streaming markdown renderer for modern terminals.
MIT