switched codeblock lang from enum to string

This commit is contained in:
sam lovelace 2021-11-28 03:04:34 +00:00
parent de4528cf1e
commit db31e2881e

View file

@ -1,7 +1,3 @@
pub enum ProgrammingLanguage {
None,
}
pub struct RGBA {
red: u8,
green: u8,
@ -15,7 +11,7 @@ pub struct Header {
}
pub struct CodeBlock {
language: ProgrammingLanguage,
language: String,
text: String,
}
pub fn parse() {}