Security News
38% of CISOs Fear They’re Not Moving Fast Enough on AI
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
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
The npm package fast-tagged-templates receives a total of 0 weekly downloads. As such, fast-tagged-templates popularity was classified as not popular.
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
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.
Security News
Company News
Socket is joining TC54 to help develop standards for software supply chain security, contributing to the evolution of SBOMs, CycloneDX, and Package URL specifications.