【cursor】 在 chat 对话框中,实现字体加粗,之护眼计划
先看效果:
方法
安装插件:
cursor 中,shift+ctrl+p, 搜索setting.json打开如下,添加属性并修改参数
添加
"custom-ui-style.stylesheet": {
".anysphere-markdown-container-root": "font-size:14px !important; line-height: 1.5 !important;font-weight: bold !important;"
}
font-weight 属性可以自定义修改加粗。
字体粗细的其他选项:
- `font-weight: normal` - 正常粗细
- `font-weight: bold` - 粗体
- `font-weight: 100-900` - 数值表示(100最细,900最粗)
- 400 相当于 normal
- 700 相当于 bold