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

Provide an option to allow HTML formatter insert newlines after specified tags #32

Closed
tommai78101 opened this issue Aug 9, 2018 · 2 comments
Assignees

Comments

@tommai78101
Copy link

There is an option in VS Code that it current supports inserting newlines:

  "html.format.extraLiners": "head, body, /html",

However, that option is only for inserting newlines before the specified tags. It currently doesn't support inserting newlines after specified tags when formatting HTML documents.

Is it okay to add an option to specify tags to insert newlines after?

@aeschli
Copy link
Contributor

aeschli commented Aug 9, 2018

We use beautifyjs as the underlying HTML formatter. Would you mind filing this request directly against https://github.com/beautify-web/js-beautify ?

@aeschli aeschli closed this as completed Aug 9, 2018
@tommai78101
Copy link
Author

Thanks again for letting me know.

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

2 participants