Open catherinedevlin opened 7 years ago
@catherinedevlin
instead of
js = "IPython.CodeCell.config_defaults.highlight_modes['magic_sql'] = {'reg':[/^%%sql/]};"
try this:
js = "IPython.CodeCell.config_defaults.highlight_modes['magic_text/x-sql'] = {'reg':[/^%%sql/]};"
It works for me prior to executing and as you are typing
Syntax colorization of SQL cells only fires after successful execution - not on cells that fail with a SQL error. Colorizing cells with errors would help with fixing those errors.