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

For multi line comments, add option to split the <!-- and --> on separate lines #186

Open
hazendaz opened this issue Apr 12, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@hazendaz
Copy link
Member

Is your feature request related to a problem? Please describe.
No problem with current usage other than it looks strange but may be desirable by some users.

Describe the solution you'd like
Today, the formatter on multi line comments keeps the where it was located so example as

<!-- some comment
       ends here -->

The content around it is well formatted. It would be nice to allow option to break the lines there so that it looks like this.

<!--
      some comment
      ends here
-->

Describe alternatives you've considered
No alternatives, just an addition to the current processing

Additional context
This change may also make sense to introduce some formatting to it such that it could put the example into a single line if the line formatting so suggests. Today it does not.

@hazendaz hazendaz added the enhancement New feature or request label Apr 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant