Is there a way to specify "pretty-printed" formatting around HTML tags? I want to be able to put spaces between HTML blocks, so this is:
<div id='container'>
</div>
<div id="footer">
</div>
...
... translates to this:
<div id='container'>
</div>
<div id="footer">
</div>
...
I know you can make comments using /, is there something similar for spaces between tags? Maybe something like this
/ container
\
\
/ footer
:s
:s
/ analytics
Where \or :scan there be custom filters?
Or even something like = space(10)10 line breaks? Or maybe even ~on its own, but that doesn't work.
source
share