Is there a js or Jq plugin for formatting sql code?
巴扎黑
巴扎黑 2017-05-19 10:30:49
0
1
622

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! ! !

巴扎黑
巴扎黑

reply all (1)
巴扎黑

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

    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!