I need an alias to mark the command line code set on a black background with white text for use as follows:
@cmd
C:\temp>echo Hello, world!
Hello, world!
C:\temp>
@endcmd
Regular doxygen aliases cannot do this (multi-line, nested "\ temp"), but @codethey @verbatimcan. However, I cannot use them because they are formatted as a white background with black text, so rewriting the pre.fragment class using special CSS is incorrect.
Any ideas?
UPD : Comments showed how bad my English is ...
OK, try again. Common doxygen functions, such as HTML and XML, work as shown below:
cpp file doxygen produced index.html
/**
@mainpage main |
<pre> | <pre>C:>echo Hello, world!
C:\temp>echo Hello, world! | Hello, world!</pre>
Hello, world! |
|
C:\temp> | <pre>C:></pre>
</pre> |
*/ |
In the magazine:
/tmp/index.h:3: warning: Found unknown command `\temp'
/tmp/index.h:6: warning: Found unknown command `\temp'
"code" "verbatim" ! :
cpp file doxygen produced index.html
/**
@mainpage main |
@verbatim | <div class="fragment">
C:\temp>echo Hello, world! | <pre class="fragment">C:\temp>echo Hello, world!
Hello, world! | Hello, world!
|
C:\temp> | C:\temp>
@endverbatim | </pre>
*/ | <div>
: , "" "". ?