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 to directly close self-closing tags #230

Open
jxsl13 opened this issue May 18, 2024 · 0 comments
Open

allow to directly close self-closing tags #230

jxsl13 opened this issue May 18, 2024 · 0 comments

Comments

@jxsl13
Copy link

jxsl13 commented May 18, 2024

I would like to be able to automatically close self-closing tags.

When writing <img| (img is in the list of self closing tags, | is the current position of my cursor), then I would love if the self closing tag was directly added to the right of my cursor <img| /> (depending on whether the additional space option was set to true, either /> or /> should be added.

In order to make this more robust, it might make sense to automatically close the tag after an additional whitespace was added after the img, like this <img |/> or this <img | />

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

1 participant