在我的 Enunciate API 文档报告中,我需要将一些注释文本的字体更改为“Courier New”字体类型。
可以吗?
最佳答案
找到了实现此功能的方法 - 在注释中使用 Font html 标签,Java doc 代码将其读取为 html 标签并以 courier 字体显示。
/* Sample URL - <font face="courier">https://{Hostname}/programs/FireIn</font>, Replace the host name with the respective environment name</br>
*/
关于java - 在 Java 文档注释中定义 Courier 字体,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31008853/