frostmark 0.3.0

HTML/Markdown renderer for the Iced GUI framework
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/// The style of a [`crate::MarkWidget`]
/// that affects how it's rendered.
#[derive(Debug, Clone, Copy, PartialEq, Default)]
pub struct Style {
    /// Color of regular text.
    pub text_color: Option<iced::Color>,
    /// Color of link **text**.
    ///
    /// Default: `#5A6B9E`
    pub link_color: Option<iced::Color>,
    /// Background color for text highlights (`<mark>` element).
    ///
    /// Default: `#F7D84B`
    pub highlight_color: Option<iced::Color>,
}