Add markdown sample
This commit is contained in:
parent
77d416b2fd
commit
851e55d950
10 changed files with 155 additions and 11 deletions
|
|
@ -3,7 +3,7 @@ name = "rich-text"
|
|||
version = "0.1.0"
|
||||
authors = ["Jeremy Soller <jeremy@system76.com>"]
|
||||
edition = "2021"
|
||||
license = "MPL2"
|
||||
license = "MIT OR Apache-2.0"
|
||||
publish = false
|
||||
|
||||
[dependencies]
|
||||
|
|
@ -12,7 +12,3 @@ env_logger = "0.9"
|
|||
fontdb = "0.9"
|
||||
log = "0.4"
|
||||
orbclient = "0.3.35"
|
||||
unicode-segmentation = "1.7"
|
||||
|
||||
[features]
|
||||
mono = []
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@ use cosmic_text::{Attrs, Color, Family, FontSystem, Style, SwashCache,
|
|||
TextAction, TextBuffer, TextBufferLine, TextMetrics, Weight};
|
||||
use orbclient::{EventOption, Renderer, Window, WindowFlag};
|
||||
use std::{env, fs, process, thread, time::{Duration, Instant}};
|
||||
use unicode_segmentation::UnicodeSegmentation;
|
||||
|
||||
fn main() {
|
||||
env_logger::init();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue