液体在 html 渲染周围添加红色框
Liquid adding red boxes around html rendering
我正在尝试使用 Jekyll 和 Liquid 呈现一些 Angular2 代码。这是我的开头
{% highlight html %}
<button (click)="action('dec')">Decrement</button>
<span>{% raw %}{{count}}{% endraw %}</span>
<button (click)="action('inc')">Increment</button>
{% endhighlight %}
这就是我得到的
红色方块已自动添加。我该如何删除它们?
在您的 _sass/_syntax-highlighting.scss
中删除 .err
class
的样式
.err {} // Error
我正在尝试使用 Jekyll 和 Liquid 呈现一些 Angular2 代码。这是我的开头
{% highlight html %}
<button (click)="action('dec')">Decrement</button>
<span>{% raw %}{{count}}{% endraw %}</span>
<button (click)="action('inc')">Increment</button>
{% endhighlight %}
这就是我得到的
红色方块已自动添加。我该如何删除它们?
在您的 _sass/_syntax-highlighting.scss
中删除 .err
class
.err {} // Error