help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to visualize HTML/XML files in Emacs?


From: Oleksandr Gavenko
Subject: Re: How to visualize HTML/XML files in Emacs?
Date: Sun, 11 Jan 2015 18:28:32 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

On 2015-01-08, Marcin Borkowski wrote:

> so I have this HTML (or XML) file, and it is a mess as far as indenting
> and newline characters go.  I'd like to either pretty-print it

apt-get install tidy

C-x h M-| tidy -indent -utf8

See my: http://gavenkoa.users.sourceforge.net/tips-html/prettyprint.html

or search at StackOverflow: http://stackoverflow.com/search?q=prettyprint

-- 
Best regards!




reply via email to

[Prev in Thread] Current Thread [Next in Thread]