【发布时间】:2021-08-08 05:59:31
【问题描述】:
我必须在 jupyter notebook 中使用 ipyvuetify 突出显示文本。
为了实现这一点,我开始如下:
import ipyvuetify as vue
pp=vue.Html(tag='mark',style_='font-weight: bold', children=['this is the first text highlighted green'], background_color='green')
pp2=vue.Html(tag='mark',style_='font-weight: bold', children=['this is a second text highlighted red'], background_color='red')
pp3=vue.Html(tag='p',style_='font-weight: bold', children=['blueblue'], background_color='blue')
display(pp,pp2,pp3)
【问题讨论】:
标签: python voila ipyvuetify