diff --git a/crates/file-formats/src/lib.rs b/crates/file-formats/src/lib.rs index 9df7fe16a..6029757de 100644 --- a/crates/file-formats/src/lib.rs +++ b/crates/file-formats/src/lib.rs @@ -38,6 +38,7 @@ pub enum Format { Xlsx, TaggedText, Pptx, + PlainText, Gcode, Studio, StencilCraft, @@ -134,6 +135,7 @@ pub fn from_extension(ext: &str) -> Option { "rtf" => Some(Format::Rtf), "xlsx" => Some(Format::Xlsx), "pptx" => Some(Format::Pptx), + "txt" | "text" | "md" => Some(Format::PlainText), "studio" | "studio3" => Some(Format::Studio), "stencilcraft" => Some(Format::StencilCraft), "gcode" | "nc" => Some(Format::Gcode),