streamdown-plugin 0.1.4

Plugin system for streamdown extensibility
Documentation

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