markdown-tui-explorer 1.21.0

A terminal-based markdown file browser and viewer with search, syntax highlighting, and live reload
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Markdown preview panel.
//!
//! The module is split into focused submodules; everything that external
//! callers need is re-exported from here so the public API is unchanged.

mod draw;
mod gutter;
mod highlight;
mod mermaid_draw;
mod state;
mod tests;

// Public API — re-export everything callers access via `crate::ui::markdown_view::*`.
pub use draw::draw;
pub use highlight::extract_line_text_range;
pub use state::{MarkdownViewState, TableLayout, VisualMode, VisualRange, WrappedTextLayout};