Expand description
Mojiban (文字盤) — rich text rendering for pleme-io applications.
Converts structured text (markdown, code) into styled spans ready for GPU text rendering.
MarkdownParser: pulldown-cmark to styled spansSyntaxHighlighter: simple keyword-based syntax coloringRichLine: line of styled spansStyledSpan: text + color + weight + decorationTextProcessor: trait for text-to-styled-spans processors
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§
Traits§
- Text
Processor - A processor that converts source text into styled lines.