There is no builtin way to ignore or not compile a line or section.
Here's a response to a similar request:
There's certainly not going to be a feature to just not parse a section of the document
It has to be valid CSS/SCSS.
سؤال
I would like to use the tumblr theme operators in my output CSS.
So in my SCSS file I have something like the below.
article * img {
max-width: 100%;
{block:PermalinkPage}
if is permalink page do this.
min-width: 100;
{/block:PermalinkPage}
}
So the question is can you tell SASS to not compile or ignore a certain section. Say by wrapping it in special characters and output as-is?
article * img {
max-width: 100%;
\{block:PermalinkPage}\
if is permalink page do this.
min-width: 100;
\{/block:PermalinkPage}\
}
المحلول
There is no builtin way to ignore or not compile a line or section.
Here's a response to a similar request:
There's certainly not going to be a feature to just not parse a section of the document
It has to be valid CSS/SCSS.