---
title: "Add JS and CSS syntax highlights in Twig"
description: "Take two minutes to fix the Twig tags {% js %} and {% css %} to adhere to the correct syntax highlighting."
canonical_url: "https://codex.republic.se/development/phpstorm/add-js-and-css-syntax-highlights-in-twig"
section: "Pages"
---

# Add JS and CSS syntax highlights in Twig

Take two minutes to fix the Twig tags `{% js %}` and `{% css %}` to adhere to the correct syntax highlighting.

---

- [Interpret TWIG's {% js %} as in PHPStorm](https://craftcms.stackexchange.com/questions/37584/interpret-twigs-js-as-script-in-phpstorm/37587)
