- Introduce new `owlen-markdown` crate that converts Markdown strings to `ratatui::Text` with headings, lists, bold/italic, and inline code. - Add `render_markdown` config option (default true) and expose it via `app.render_markdown_enabled()`. - Implement `:markdown [on|off]` command to toggle markdown rendering. - Update help overlay to document the new markdown toggle. - Adjust UI rendering to conditionally apply markdown styling based on the markdown flag and code mode. - Wire the new crate into `owlen-tui` Cargo.toml.
11 lines
251 B
TOML
11 lines
251 B
TOML
[package]
|
|
name = "owlen-markdown"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
description = "Lightweight markdown to ratatui::Text renderer for OWLEN"
|
|
|
|
[dependencies]
|
|
ratatui = { workspace = true }
|
|
unicode-width = "0.1"
|