Allow option to add a new line before each comment
glewe opened this issue · 6 comments
Description
As I can see from other issues and requests here, the requirements for adding/removing line breaks before/after HTML comments are quite versatile.
I for example, I wish there would be an option/switch to add "new line before comment" that also honors indentation.
Input
With this new feature, when I give like this input:
<!--begin::Card--><div class="card"><!--begin::Card Header--><div class="card-header">Header</div><!--end::Card Header--><!--begin::Card Body--><div class="card-body">...</div><!--end::Card Header--></div><!--end::Card-->
Expected Output
I'd like to see this output:
<!--begin::Card-->
<div class="card">
<!--begin::Card Header-->
<div class="card-header">
Header
</div>
<!--end::Card Header-->
<!--begin::Card Body-->
<div class="card-body">
...
</div>
<!--end::Card Body-->
</div>
<!--end::Card-->
Environment
OS: Win
Got your issue, will surely update that. Please assign me the issue @glewe @evocateur @gimmi @ariya @tobbez , whomsoever is the maintainer.
I created the issue but I cannot assign it.
@maintainer plaese assign the issue to me, got your issue and will surely update that.
I don't assign issues because generally people who ask for it don't end up submitting PRs for the issue. Please go ahead and submit a PR.
Has the issue been resolved or should I start working on it.?
It does not seem that it has been worked on yet.