Debugging Stylus online #2829
-
I am trying to see why https://github.com/openstyles/stylus/ raises this particular error: (PS: Now I know why - but the error is super un-intuitive) I am trying to use https://stylus-lang.com/try.html - but the result I get is even more baffling: playground proceeds to re-write my whole CSS-snippet 😕 Using https://codebeautify.org/stylus-compiler, instead "just works" (I don't get any error) Could https://stylus-lang.com/try.html improve by presenting errors in a more consolidated and understandable manner? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Those are two different Stylus |
Beta Was this translation helpful? Give feedback.
-
I don't think there's any error with your stylus code. You should ask on https://github.com/openstyles/stylus/ for help on your issue. |
Beta Was this translation helpful? Give feedback.
Semi-colons are optional. The stylus playground isn't giving you an error, that's just how it shows your compiled CSS output.
https://stylus-lang.com/docs/#what-if-it-were-all-optional