Reputation: 11760
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