使用 ipyvuetify 突出显示文本

问题描述

我必须使用在 jupyter 笔记本中用 voila 渲染的 ipyvuetify 来突出显示文本。

为了实现这一点,我开始如下:

pipeline

这会产生:

enter image description here

但是想要的结果应该是:

enter image description here

解决方法

ipyvuetify.Html 不是“background_color”属性,也不是“color”属性。 您可以通过“style_”标签设置背景颜色,就像您为粗体所做的那样。

ToQueryString()