| Crates.io | molten_ember |
| lib.rs | molten_ember |
| version | 0.1.0 |
| created_at | 2025-12-14 18:45:55.544795+00 |
| updated_at | 2025-12-14 18:45:55.544795+00 |
| description | Render Markdown beautifully in the terminal 🔥 |
| homepage | https://molten.dev |
| repository | https://github.com/moltenlabs/molten-ember |
| max_upload_size | |
| id | 1984925 |
| size | 42,384 |
Render Markdown beautifully in the terminal.
Features • Installation • Usage • Themes
Ember is the Rust equivalent of glow from Charmbracelet. It renders Markdown with beautiful syntax highlighting and styling directly in your terminal.
cargo add ember
cargo install ember
use ember::render;
let markdown = r#"
# Welcome to Ember 🔥
This is **bold** and *italic* text.
## Code Example
```rust
fn main() {
println!("Hello, Ember!");
}
This is a blockquote "#;
let rendered = render(markdown); println!("{}", rendered);
### CLI Usage
```bash
# Render a file
ember README.md
# Render from stdin
cat README.md | ember
# Use a different theme
ember README.md --theme molten
# Set custom width
ember README.md --width 100
Ember comes with three beautiful themes:
use ember::{render_with_theme, Theme};
let rendered = render_with_theme(markdown, &Theme::dark());
let rendered = render_with_theme(markdown, &Theme::light());
let rendered = render_with_theme(markdown, &Theme::molten());
use ember::{Theme, ThemeColors};
use glyphs::Color;
let theme = Theme::new()
.width(100)
.colors(ThemeColors {
heading: Color::from_hex("#F97316"),
bold: Color::from_hex("#FAFAFA"),
italic: Color::from_hex("#A1A1AA"),
code: Color::from_hex("#10B981"),
code_bg: Color::from_hex("#18181B"),
link: Color::from_hex("#3B82F6"),
quote: Color::from_hex("#71717A"),
bullet: Color::from_hex("#7C3AED"),
rule: Color::from_hex("#3F3F46"),
text: Color::from_hex("#E4E4E7"),
});
let rendered = render_with_theme(markdown, &theme);
| Element | Syntax | Output |
|---|---|---|
| Heading | # Title |
Bold, colored |
| Bold | **text** |
Bold |
| Italic | *text* |
Italic |
| Code | `code` |
Highlighted |
| Code Block | ``` |
Bordered box |
| Link | [text](url) |
Underlined |
| List | - item |
Bulleted |
| Blockquote | > text |
Indented, styled |
| Rule | --- |
Horizontal line |
ember [FILE] [OPTIONS]
Arguments:
[FILE] Markdown file to render (use - for stdin) [default: -]
Options:
-t, --theme <THEME> Theme (dark, light, molten) [default: dark]
-w, --width <WIDTH> Width for wrapping [default: 80]
-h, --help Print help
-V, --version Print version
Ember is part of the Molten Labs open source ecosystem:
| Crate | Description |
|---|---|
| molten_brand | Design tokens & colors |
| glyphs | ANSI escape sequences |
| lacquer | Terminal styling |
| cauldron | TUI framework |
| sparks | TUI components |
| rune | Shell glamour |
| ember | Markdown renderer (you are here) |
| smelt | Pretty logging |
Like glowing embers in a forge, Ember brings warmth and light to your terminal, illuminating your Markdown documents with beautiful rendering. 🔥
We welcome contributions! Please see CONTRIBUTING.md for guidelines.
Licensed under either of:
at your option.
Built with 🔥 by Molten Labs