-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
SQL Tick marks not highlighting as a string #3140
Copy link
Copy link
Closed
Labels
Description
Information
- Language: SQL, MySQL
- Plugins: none
Description
When using ` marks to surround a keyword, the word should be formatted as a string.
Adding a tick to this fixes the issue:
Prism.languages.sql = {
'string': {
pattern: /(^|[^@\\])("|'|`)(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,
greedy: true,
lookbehind: true
},
}The code being highlighted incorrectly.
select
`t`.`col1`, `t`.`col2`, `t`.`col3`, `t`.`col4`
from
`test_table` as `t`Reactions are currently unavailable
