From ff7d2b2afb1b4036404c1559dbe22da6f712e929 Mon Sep 17 00:00:00 2001
From: Vadim Kiryukhin
Click on "Pretty Print" button to beatify the text.
Click on "Minify" button to minify the text (not sure if anybody needs it, but I keep it for consistency :)
-"Preserve Comments" is not implemented for SQL part or the application.
+"Preserve Comments" is not implemented for SQL part of the application.
diff --git a/html/doc.html b/html/doc.html index 00c1ee7..2ee1612 100644 --- a/html/doc.html +++ b/html/doc.html @@ -15,13 +15,13 @@
vkbeautify.xml|json|css(text);
vkbeautify.xmlmin|jsonmin|cssmin(text [,preserveComments]);
vkbeautify.xml|json|css|sql(text);
vkbeautify.xmlmin|jsonmin|cssmin|sqlmin(text [,preserveComments]);
@text
- String; XML, JSON or CSS text to beatufy;@text
- String; XML, JSON, CSS or SQL text to beatufy;@preserveComments
- Bool; [optional] flag, which is used in minxml and mincss functions only. @text
;
Return
- Stringvkbeautify.xml(text);
// pretty print XMLvkbeautify.json(text);
// pretty print JSON vkbeautify.css(text);
// pretty print CSS vkbeautify.xmlmin(text [, true]);
// minify XML vkbeautify.jsonmin(text);
// minify JSON vkbeautify.cssmin(text[, true]);
// minify CSS vkbeautify.xml(text);
// pretty print XMLvkbeautify.json(text);
// pretty print JSON vkbeautify.css(text);
// pretty print CSS vkbeautify.sql(text);
// pretty print SQL vkbeautify.xmlmin(text [, true]);
// minify XML vkbeautify.jsonmin(text);
// minify JSON vkbeautify.cssmin(text[, true]);
// minify CSS vkbeautify.sqlmin(text);
// minify SQL
Overview
-vkBeautify is a small, simple and powerfull javascript plugin to beautify ( pretty print ) or minify XML, JSON or CSS text. vkBeautify is a small, simple and powerfull javascript plugin to beautify ( pretty print )
+or minify text in following formats: Consider to use it if you:
This plugin: |