Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>vscode-ts-template-literalNew to Visual Studio Code? Get it now.
vscode-ts-template-literal

vscode-ts-template-literal

Artem Yavorsky

|
286 installs
| (0) | Free
Syntax highlighting for template literals using typescript
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Typed template literals highlight

This package helps highlight template literals in your code.

It is useful for template libraries.

For example:

import template from 'your-template-implementation';

const generateTemplate = template<Record<'color' | 'userName', string>>`
  const color = ${({ color }) => color};
  const userName = ${({ userName }) => userName};
`;

const generated = generateTemplate({ color: 'blue', userName: 'Artem' });
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft