
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
fast-tagged-templates
Advanced tools
Syntax highlighting support for CSS and HTML tagged template literals
fast-tagged-templates
is a Visual Studio Code extension which enables syntax highlighting for css
and html
tagged template literals in JavaScript and TypeScript files.
Both tagged template literals (css`.style {}`;
) and comment-style untagged template literals (/* css */`.style {}`;
) are supported.
In addition to the standard styles, the html
syntax highlighting also allows for optional generics in Typescript (html<any>`<div></div>`;
and /* html<Generic> */`<div></div>`;
).
The theme used in the screenshots is Boxy Tomorrow.
Coming soon!
To install the extension manually, copy or symlink the fast-tagged-templates
directory to your extensions folder.
Some theme extensions may need minor adjustments, depending on how their scopes are maintained. To override certain scopes, you may need to add textMateRules
to your user settings. For example:
"editor.tokenColorCustomizations": {
// Fix parentheses on functions and expressions in strings for this particular theme
"[Boxy Tomorrow]": {
"textMateRules": [
{ "settings": { "foreground": "#8ABEB7" }, "scope": "meta.brace.round.ts"}
{ "settings": { "foreground": "#C5C8C6" }, "scope": "meta.template.expression.ts"}
]
}
}
FAQs
Syntax highlighting support for CSS and HTML tagged template literals
We found that fast-tagged-templates demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.