Merge branch 'issue1' of ssh://git.ablecorp.us:20/Mesh/meshup into issue1

This commit is contained in:
Able 2021-11-27 21:34:49 -06:00
commit b3d5a86780

View file

@ -15,15 +15,27 @@ pub struct CodeBlock {
text: String, text: String,
} }
pub struct Emphasis { pub struct StyledText {
italic: bool, italic: bool,
bold: bool, bold: bool,
underline: bool,
color: Option<RGBA>,
text: String,
} }
pub struct Blockquote { pub struct Blockquote {
level: u8, level: u8,
text: String,
} }
pub enum Node {
Header(Header),
Paragraph(Vec<StyledText>),
HRule,
}
pub struct Document(Vec<Node>);
// TODO: able take care of lists i am too drunk for this tonight // TODO: able take care of lists i am too drunk for this tonight
pub enum ListType { pub enum ListType {