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
[]
= "0.1"
use ;
let mut plugins = new;
plugins.register;
let text = r"The formula is \alpha + \beta = \gamma";
let processed = plugins.process;
// Output: "The formula is α + β = γ"
Part of Streamdown
This is a component of streamdown-rs, a streaming markdown renderer for modern terminals.
License
MIT