我正在使用 Prepros 编译 *.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>