danderson/templ-ts-mode

Assign subparsers to inline <style> and <script> elements

Opened this issue · 0 comments

You can use <style> and <script> elements in a templ, and those just embed bog standard CSS and Javascript respectively. templ-ts-mode should assign sub-parsers to those sections, and set up the appropriate font locking and indent rules.