Search code examples
javajavadocenunciate

Defining Courier font in Java Documentation comments


In my Enunciate API documentation report, I need to change the font of some comment text to "Courier New" font type.

Is is possible?


Solution

  • Found a way for this feature - Use Font html tag in the comment, Java doc code reads it as a html tag and displays in courier font.

    /* Sample URL - <font face="courier">https://{Hostname}/programs/FireIn</font>, Replace the host name with the respective environment name</br>
    */