This commit is contained in:
Able 2021-11-27 22:02:15 -06:00
parent fa0791166e
commit f1592883a2

View file

@ -1,4 +1,14 @@
pub struct Url;
#[derive(Debug)]
struct Url {
scheme: String,
user: String,
password: String,
host: String,
port: u16,
path: String,
query: String,
fragment: String,
}
pub struct RGBA {
red: u8,
@ -30,7 +40,6 @@ pub struct Blockquote {
text: String,
}
<<<<<<< HEAD
pub struct Link {
text: String,
url: Url,
@ -43,7 +52,7 @@ pub struct Image {
title: Option<String>,
link: Option<Link>,
}
=======
pub enum Node {
Header(Header),
Paragraph(Vec<StyledText>),
@ -51,7 +60,6 @@ pub enum Node {
}
pub struct Document(Vec<Node>);
>>>>>>> d808ae46ad469d6024e76ad006f7b3e0832fe8cb
// TODO: able take care of lists i am too drunk for this tonight