Resolve plain text format extensions

This commit is contained in:
Dylan M. Taylor committed 2026-11-13 01:24:40 -05:00
1 parent fc9ecb40e7
commit 32529b94e8
1 file changed
+2
+2
View File
@@ -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<Format> {
"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),