streamdown-plugin

Crates.iostreamdown-plugin
lib.rsstreamdown-plugin
version0.1.3
created_at2025-12-31 20:38:07.486635+00
updated_at2025-12-31 21:04:54.17192+00
descriptionPlugin system for streamdown extensibility
homepage
repositoryhttps://github.com/fed-stew/streamdown-rs
max_upload_size
id2015326
size61,161
(janfeddersen-wq)

documentation

README

streamdown-plugin

Plugin system for the streamdown streaming markdown renderer.

Overview

Extensibility framework for streamdown:

  • Text transformers - Process text before/after rendering
  • LaTeX support - Convert LaTeX math to Unicode symbols
  • Custom handlers - Add new block types and behaviors
  • Pipeline architecture - Composable plugin chains

Built-in Plugins

LaTeX to Unicode

Converts LaTeX math notation to Unicode symbols:

\alpha  -> α
\beta   -> β
\sum    -> Σ
\int    -> ∫
\infty  -> ∞

Usage

[dependencies]
streamdown-plugin = "0.1"
use streamdown_plugin::{PluginManager, LatexPlugin};

let mut plugins = PluginManager::new();
plugins.register(LatexPlugin::new());

let text = r"The formula is \alpha + \beta = \gamma";
let processed = plugins.process(text);
// Output: "The formula is α + β = γ"

Part of Streamdown

This is a component of streamdown-rs, a streaming markdown renderer for modern terminals.

License

MIT

Commit count: 0

cargo fmt