# HG changeset patch # User Oleksandr Gavenko # Date 1328603881 -7200 # Node ID e0471b6b99d2365ab95cb66659918d210b543dc6 # Parent b014c71fdb7d1d55e17a59fb185731ac556050ca Convert to RST syntax. diff -r b014c71fdb7d -r e0471b6b99d2 prettyprint.rst --- a/prettyprint.rst Sat Feb 04 23:58:23 2012 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,50 +0,0 @@ --*- mode: outline; coding: utf-8 -*- - -* xml. - -** tidy. - - $ tidy -xml -i -utf8 -o out.xml in.xml - -or in Emacs C-x h C-x c utf-8 C-u M-| tidy -q -xml -i -utf8 - - - http://tidy.sourceforge.net - home page - http://www.emacswiki.org/cgi-bin/wiki/tidy.el - -** xmllint. - - $ xmllint --format file.xml - -or in Emacs: C-x h C-u M-| xmllint --format - - -** Emacs and nxml. - -You need introduce line-breaks and then C-x h C-M-\. - -** xmlindent. - - http://xmlindent.sourceforge.net/ - -code formatter/beautifier/pretty printer - -* c/c++/java/c#. - -** Artistic Style, astyle. - -A Free, Fast and Small Automatic Formatter for C, C++, C#, and Java Source -Code. - -Exist package for Cygwin, Debian. - - http://astyle.sourceforge.net/ - home page - -** Uncrustify. - -Source Code Beautifier for C, C++, C#, ObjectiveC, D, Java, Pawn and VALA. - -Exist package for Windows (binary from home page), Debian. - - http://uncrustify.sourceforge.net/ - home page