Skip to content

Commit 0285096

Browse files
committed
feat: allow "postcss" as style lang (close #106)
1 parent b72c15d commit 0285096

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

markup_fmt/src/ctx.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ where
330330
}),
331331
indent_level: state.indent_level,
332332
attr: false,
333-
ext: lang,
333+
ext: if lang == "postcss" { "css" } else { lang },
334334
},
335335
)
336336
}

0 commit comments

Comments
 (0)