Is there a way to specify "pretty-print"-like formatting around HTML tags? I want to be able to put whitespace between blocks of HTML, so this:
<!-- container -->
<div id='container'>
</div>
<!-- footer -->
<div id="footer">
</div>
<!-- analytics -->
...
...is converted to this:
<!-- container -->
<div id='container'>
</div>
<!-- footer -->
<div id="footer">
</div>
<!-- analytics -->
...
I know you can do comments with /
, is there something like that for whitespace between tags? Maybe something like this
/ container
#container
\
\
/ footer
#footer
:s
:s
/ analytics
Where the \
or :s
could be custom filters?
Or even something like = space(10)
for 10 line breaks? Or maybe even ~
by itself but that doesn't work.