CSS comments #1131
Replies: 3 comments
-
|
Hadn't planned to work on that in the near future. Was planning to spend more time on CSS handling, but will prioritise investigating reports of LSP stuff not working. If you wanted to implement comment support, you'd need to take a look here: https://github.com/a-h/templ/blob/main/parser/v2/cssparser.go You'd need to add something like this comment parser: https://github.com/a-h/templ/blob/main/parser/v2/gocommentparser.go and update the object model of the CSS types to include a space to put the comments back in: Lines 247 to 332 in 78e130a |
Beta Was this translation helpful? Give feedback.
-
|
There's a thread on CSS support where I outline what I was thinking of doing next re: CSS processing at #740 I prioritised some JavaScript quality of life stuff in 0e8437a first. |
Beta Was this translation helpful? Give feedback.
-
|
thanks @a-h |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, quick question. Are there any plans / considerations for adding comments support in the css blocks?
If not, i could lend a helping hand, would just appreciate being pointed in the right direction
Beta Was this translation helpful? Give feedback.
All reactions