【问题标题】:How to bold a string in groovy?如何在groovy中加粗一个字符串?
【发布时间】:2022-11-02 15:06:04
【问题描述】:

是否可以更改 Groovy 控制台输出中的字体?我想在我的 groovy 中加粗某些字符串。试过这6个代码它不会工作。

echo "*hello* world!"
echo "<b>hello</b> world!"
echo "<strong>hello</strong> world!"
println("*hello* world!")
println("<b>hello</b> world!")
println("<strong>hello</strong> world!")

【问题讨论】:

标签: groovy fonts format jenkins-groovy bold


【解决方案1】:

是的,需要这个问题的答案,请尽快帮助

【讨论】:

猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2018-06-04
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多