Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>htmlTojsNew to Visual Studio Code? Get it now.
htmlTojs

htmlTojs

wyhere

|
1,531 installs
| (1) | Free
extension for html2js
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

htmlTojs

example

'<div class="btn-group" role="group" aria-label="...">'+
'<button type="button" class="btn btn-default">Left</button>'+
'<button type="button" class="btn btn-default">Middle</button>'+
'<button type="button" class="btn btn-default">Right</button>'+
'</div>';

htmlTojs str

example

var html_str = "";
html_str += "<div class="btn-group" role="group" aria-label="...">";
html_str += "<button type="button" class="btn btn-default">Left</button>";
html_str += "<button type="button" class="btn btn-default">Middle</button>";
html_str += "<button type="button" class="btn btn-default">Right</button>";
html_str += "</div>";

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft