1
Я использую Prepros для компиляции шаблонов * .jade.Как вставить экранированный код scss в Jade
Текущий Джейд код:
pre
code.hljs
.ui-button {
@include button;
&.xs {@include button-size(xs);}
&.sm {@include button-size(sm);}
&.md {@include button-size(md);}
&.lg {@include button-size(lg);}
&.xl {@include button-size(xl);}
&.xxl {@include button-size(xxl);}
}
Ожидаемый результат:
<pre>
<code class="hljs">
.ui-button {
@include button;
&.xs {@include button-size(xs);}
&.sm {@include button-size(sm);}
&.md {@include button-size(md);}
&.lg {@include button-size(lg);}
&.xl {@include button-size(xl);}
&.xxl {@include button-size(xxl);}
}
</code>
</pre>