I wanted to include a formatter for the HTML The result of the HTML after ALT+SHIFT+F isn't desirable to me.
I looked at adding jsbeautifier...but saw that scripted actually uses jsbeautifier...awesome.
I looked at
the wiki configuration page and it looks like there are a few commands that are supported. Any hints as to how I would include support for configuring the HTML formatting so I can configure JSBeautifier so it doesn't mangle my tags and white spacing?
Thank you!
Here's what my HTML looks like before formatting.
<!-- List Directory Entries -->
<pagination num-pages="noOfPages" current-page="currentPage" on-select-page="search(page)"></pagination>
Entries per page <select class="input-mini" ng-model="pageSize" ng-change="search(page)"><option>2</option><option>4</option><option>6</option><option>8</option></select>
<ul class="thumbnails" >
<li class="{{span}}" ng-repeat="de in directoryEntries">
<summary ng-model="{{de}}" />
</li>
</ul>
Here's what it looks like after:
<!-- List Directory Entries -->
<
pagination num - pages = "noOfPages"
current - page = "currentPage"
on - select - page = "search(page)" > < /pagination>
Entries per page <select class="input-mini" ng-model="pageSize" ng-change="search(page)"><option>2</option > < option > 4 < /option><option>6</option > < option > 8 < /option></select > < ul class = "thumbnails" > < li class = "{{span}}"
ng - repeat = "de in directoryEntries" > < summary ng - model = "{{de}}" / > < /li>
</ul >