Crate aglow

Crate aglow 

Source
Expand description

§Ember

Render Markdown beautifully in the terminal.

Ember is the Rust equivalent of glow from Charmbracelet. It renders Markdown with syntax highlighting and styling.

§Quick Start

use ember::render;

let markdown = "# Hello\n\nThis is **bold** and *italic*.";
let rendered = render(markdown);
println!("{}", rendered);

Modules§

prelude
Prelude for convenient imports.

Structs§

MarkdownRenderer
Markdown renderer with configurable theme.
Theme
A rendering theme.
ThemeColors
Colors for markdown rendering.

Functions§

render
Render markdown to styled terminal output.
render_with_theme
Render markdown with a custom theme.