Discourse Meta
如何更改代码块提供的默认颜色?
支持
Moin
2023 年10 月 4 日 10:12
2
颜色会根据语言添加。您可以检查
highlighted_languages
中是否添加了 Swift,如果检测仍然不起作用,您还可以为代码块手动设置语言。
2 个赞
在话题中显示帖子
相关话题
话题
回复
浏览量
活动
Add new highlightjs languages
Support
2
77
2025 年5 月 13 日
HighlightJS is auto-selecting wrong language
Support
6
1125
2020 年3 月 18 日
Configure which programming languages are available for syntax highlighting
Site Management
how-to
,
customization
6
2463
2024 年8 月 26 日
Choosing code highlight styles
Support
5
1240
2019 年1 月 8 日
Be sure to get user input on which language the preformatted text is
UX
2
304
2024 年3 月 23 日