No, \code..\endcode
still works as always.
What is like the problem is that you use a custom page header or stylesheet (i.e. HTML_STYLESHEET
or HTML_HEADER
is not empty in the config file) and the newer version of doxygen started using different CSS tags to style the code block, and these are missing from your stylesheet.
Doxygen recently introduced a HTML_EXTRA_STYLESHEET
option which you can use to overrule parts of the original stylesheet. I recommend to use that option instead of HTML_STYLESHEET
.