use crate::widgets::markdown_widget::state::markdown_state::MarkdownState;
use crate::widgets::markdown_widget::state::DisplaySettings;
impl MarkdownState {
pub fn new() -> Self {
Self::default()
}
pub fn with_display(display: DisplaySettings) -> Self {
Self {
display,
..Default::default()
}
}
}