Skip to main content

Crate mojiban

Crate mojiban 

Source
Expand description

Mojiban (文字盤) — rich text rendering for pleme-io applications.

Converts structured text (markdown, code) into styled spans ready for GPU text rendering.

Re-exports§

pub use highlight::SyntaxHighlighter;
pub use markdown::MarkdownParser;
pub use span::ParseTextWeightError;
pub use span::RichLine;
pub use span::StyledSpan;
pub use span::TextStyle;
pub use span::TextWeight;

Modules§

colors
Nord-inspired color palette shared across mojiban modules.
highlight
markdown
span

Traits§

TextProcessor
A processor that converts source text into styled lines.