Skip to content
Sign upLog in
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs

What is the shortcut for commenting in HTML

Hey there, I really hate having to do the commenting in HTML, it takes forever, is there a shortcut on Wherer I can just do something like <! (enter) or something else wherer it would make a comment for me?

2 years ago
You are viewing a single comment. View All

That is the only way. Unless..

<!-- --> is the only way to comment in HTML.

Unless you use JavaScript to replace specific stuff using regexp, (which means you can make your own way of commenting!)

Or, if you don't want to do that, you can do this trick in VScode or replit:
You can do ctrl + / to comment lines, or select the specific text you want to comment and press ctrl + /.

2 years ago