Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Real-time SQL syntax highlighting in HTML5 [closed]

I want to use a <textarea> tag or an alternative written in JavaScript, that highlights my SQL statements as I write them (effectively the same as phpMyAdmin's SQL section where you can manually write queries.)

Please tell me that this is possible without using HUGE libraries and can be easily customizable. If so, which library should I be using and how?

like image 949
Berk Özbalcı Avatar asked Feb 11 '13 18:02

Berk Özbalcı


1 Answers

http://codemirror.net/

I think I found what I wanted. Though this looks like a big library, this will do the trick. Thanks everybody.

like image 196
Berk Özbalcı Avatar answered Sep 28 '22 13:09

Berk Özbalcı