Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow option to add a new line before each comment #2198

Open
glewe opened this issue Sep 28, 2023 · 6 comments
Open

Allow option to add a new line before each comment #2198

glewe opened this issue Sep 28, 2023 · 6 comments

Comments

@glewe
Copy link

glewe commented Sep 28, 2023

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

@jatin-2708
Copy link

Got your issue, will surely update that. Please assign me the issue @glewe @evocateur @gimmi @ariya @tobbez , whomsoever is the maintainer.

@glewe
Copy link
Author

glewe commented Oct 8, 2023

I created the issue but I cannot assign it.

@jatin-2708
Copy link

@maintainer plaese assign the issue to me, got your issue and will surely update that.

@bitwiseman
Copy link
Member

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.

@jatin-2708
Copy link

Has the issue been resolved or should I start working on it.?

@glewe
Copy link
Author

glewe commented Oct 18, 2023

It does not seem that it has been worked on yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants