Skip to content

Commit d281eb2

Browse files
Update markdown.rs (#1437)
1 parent adc3561 commit d281eb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pgml-dashboard/src/utils/markdown.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ impl<'a> From<&str> for CodeFence<'a> {
200200
"bash"
201201
} else if options.starts_with("python") {
202202
"python"
203-
} else if options.starts_with("javascript") {
203+
} else if options.starts_with("javascript") || options.starts_with("js") {
204204
"javascript"
205205
} else if options.starts_with("postgresql") {
206206
"postgresql"

0 commit comments

Comments
 (0)