PVitt
PVitt

Reputation: 11760

doxygen comment in fortran codeblock in doxygen markdown file not printed

I'm writing a markdown file with some code examples. In one example I want to show how to comment the code using doxygen comments:

Here is normal text.

~~~.f90
!> Here is a doxygen comment in a fortran code example
!! that should be visible in the doxygen output
Here comes some more code
~~~

The code is printed nicely, but the comment is not shown in the output. Instead there is just a blank line. When I change the example to use the code block markup indicated by four leading spaces, the code highlight get's lost. I guess that is because the code isn't marked as fortran.

So the questions are:

or

Upvotes: 1

Views: 373

Answers (1)

PVitt
PVitt

Reputation: 11760

As albert does not want to answer my question, I'll do on his behalf:

The !> and !! are seen as normal comment signs (no special processing). By means of setting STRIP_CODE_COMMENTS to NO you can get this information.

Upvotes: 1

Related Questions