diff --git a/pgml-dashboard/src/utils/markdown.rs b/pgml-dashboard/src/utils/markdown.rs index 0533b8b6c..1511b7da5 100644 --- a/pgml-dashboard/src/utils/markdown.rs +++ b/pgml-dashboard/src/utils/markdown.rs @@ -225,7 +225,7 @@ impl SyntaxHighlighterAdapter for SyntaxHighlighter { let code = match options.lang { "postgresql" | "sql" | "postgresql-line-nums" => { lazy_static! { - static ref SQL_KEYS: [&'static str; 68] = [ + static ref SQL_KEYS: [&'static str; 69] = [ "PARTITION OF", "PARTITION BY", "CASCADE", @@ -276,6 +276,7 @@ impl SyntaxHighlighterAdapter for SyntaxHighlighter { "END", "BETWEEN", "SET", + "REINDEX", "INDEX", "USING", "GROUP BY", @@ -295,7 +296,7 @@ impl SyntaxHighlighterAdapter for SyntaxHighlighter { "pgml.predict", "pgml.transform", ]; - static ref SQL_KEYS_REPLACEMENTS: [&'static str; 68] = [ + static ref SQL_KEYS_REPLACEMENTS: [&'static str; 69] = [ r#"PARTITION OF"#, r#"PARTITION BY"#, "CASCADE", @@ -346,6 +347,7 @@ impl SyntaxHighlighterAdapter for SyntaxHighlighter { "END", "BETWEEN", "SET", + "REINDEX", "INDEX", "USING", "GROUP BY",