meshup/src/lib.rs
2021-11-27 21:33:07 -06:00

37 lines
457 B
Rust

pub struct RGBA {
red: u8,
green: u8,
blue: u8,
alpha: u8,
}
pub struct Header {
label: String,
level: u8,
}
pub struct CodeBlock {
language: String,
text: String,
}
pub struct Emphasis {
italic: bool,
bold: bool,
}
pub struct Blockquote {
level: u8,
}
// TODO: able take care of lists i am too drunk for this tonight
pub enum ListType {
Ordered,
Unordered,
}
pub struct List {}
pub fn parse() {}