diff --git a/pgml-dashboard/src/utils/markdown.rs b/pgml-dashboard/src/utils/markdown.rs index 01ee81a43..84f9243bf 100644 --- a/pgml-dashboard/src/utils/markdown.rs +++ b/pgml-dashboard/src/utils/markdown.rs @@ -200,7 +200,7 @@ impl<'a> From<&str> for CodeFence<'a> { "bash" } else if options.starts_with("python") { "python" - } else if options.starts_with("javascript") || options.starts_with("js") { + } else if options.starts_with("javascript") || options.eq_ignore_ascii_case("js") { "javascript" } else if options.starts_with("postgresql") { "postgresql"
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: