There is now a requirement here, which requires formatting sql code at the front end. After searching for a while, I couldn't find it, only some online conversion websites.
is not code highlighting
, the kind that requires formatting the compressed code! ! ! 巴扎黑2017-05-19 10:32:49
That’s a lot. If you search for code highlighting, you can find a bunch of them.
I recommend the commonly used https://highlightjs.org/. You see, it doesn't suit your taste.
Huh? The author modified the title.
This type of syntax formatting. There are quite a few, there are many open source ones on github. Although not used. But I found one for you.
sql-formatter