To use this language, use the class "language-scss".
// Single line comment
/* Multi-line
comment */
@import "foo.scss";
@media (min-width: 600px) {}
.seriousError {
@extend .error;
}
@for $i from 1 through 3 {}
@font-face {
font-family: "opensans";
src: font-url("opensans.ttf");
}
$width: 5em;
#main {
width: $width;
}
p.#{$name} {
#{$attr}-color: blue;
}
There are certain edge cases where Prism will fail. There are always such cases in every regex-based syntax highlighter. However, Prism dares to be open and honest about them. If a failure is listed here, it doesn’t mean it will never be fixed. This is more of a “known bugs” list, just with a certain type of bug.
@media screen {}