HTML in JS Strings
Provides syntax highlighting for HTML inside JavaScript and TypeScript template literals and strings.
Features
- ✅ HTML syntax highlighting in template literals
- ✅ HTML syntax highlighting in regular strings
- ✅ Support for template literal interpolations (
${} )
- ✅ Works with JavaScript, TypeScript, JSX, and TSX files
Usage
Simply write HTML inside template literals or strings:
```javascript
const html = `
Hello World
This HTML is now highlighted!
\`;
const component = `
`;
```
Installation
Install from the VS Code Extension Marketplace
Release Notes
1.0.0
- Initial release
- HTML syntax highlighting in template literals
- HTML syntax highlighting in quoted strings
- Support for template literal interpolations
| |