[Top][All Lists]

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

How to visualize HTML/XML files in Emacs?

From: Marcin Borkowski
Subject: How to visualize HTML/XML files in Emacs?
Date: Thu, 08 Jan 2015 04:03:32 +0100

Hello there,

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, or maybe
convert to s-expressions, or visualize it in any other way.  What would
you recommend?  I know (from this answer on ESE: about sgml-pretty-print, and it
works nice.  Any other suggestions?

Bonus points if it could be done with skewer-mode (or something), so
that the HTML is taken from the browser.  (Notice that even if I'm
browsing a local file, which I am, just grabbing the file won't help,
since I modify the DOM in the browser with JavaScript.)


Marcin Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University

reply via email to

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