notation_bevy_utils 0.4.2

Fun notation - bevy utils
1
2
3
4
5
6
7
8
9
10
11
12
use bevy_egui::egui::Label;

pub mod easy_link;

pub use crate::easy_mark::*;
pub use crate::easy_mark::easy_mark_parser::Style as EasyMarkStyle;

pub use easy_link::{EasyLink, EasyLinkEvent};

pub fn label_from_style(text: &str, style: &EasyMarkStyle) -> Label {
    Label::new(easy_mark_viewer::rich_text_from_style(text, &style))
}