【问题标题】:Liquid adding red boxes around html renderingLiquid 在 html 渲染周围添加红色框
【发布时间】:2015-10-20 08:27:24
【问题描述】:

我正在尝试使用 Jekyll 和 Liquid 渲染一些 Angular2 代码。这是我的开始

{% highlight html %}
<button (click)="action('dec')">Decrement</button>
<span>{% raw %}{{count}}{% endraw %}</span>
<button (click)="action('inc')">Increment</button>
{% endhighlight %}

这就是我得到的

红色方块已自动添加。如何删除它们?

【问题讨论】:

    标签: css jekyll liquid angular


    【解决方案1】:

    在您的 _sass/_syntax-highlighting.scss 中删除 .err 类的样式

    .err   {} // Error
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-05-07
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-03-17
      • 1970-01-01
      相关资源
      最近更新 更多