Security News
JSR Working Group Kicks Off with Ambitious Roadmap and Plans for Open Governance
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.
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
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.
Security News
Research
An advanced npm supply chain attack is leveraging Ethereum smart contracts for decentralized, persistent malware control, evading traditional defenses.
Security News
Research
Attackers are impersonating Sindre Sorhus on npm with a fake 'chalk-node' package containing a malicious backdoor to compromise developers' projects.