Batch Code Indices and Decoders

Does anyone know of a good index or batch file code decoders?

In particular, for PHP, JS and SGML languages.

Preferably with style settings.

+3
source share
2 answers

The following page has code to remove Javascript (also written in javascript):

http://www.howtocreate.co.uk/tutorials/jsexamples/JSTidy.html

There are various ways to organize files based on SGML (i.e. XML). HTMLTidy often does the trick, and in different languages ​​there are various implementations of "pretty printed".

And finally, a link to a website with PHP code for pretty typing PHP: http://tobyinkster.co.uk/blog/2007/07/17/php-pretty-printer/

+1
source

For HTML / XML, HTML Tidy is the best option:

http://tidy.sourceforge.net/

+1
source

Source: https://habr.com/ru/post/1696469/


All Articles