1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
|
/** @mainpage
@code{.glsl}
// Special handling of some extensions
@endcode
@code{.ini} Inline=code @endcode of different @code{.sh} cd dir @endcode
languages.
Code file with a custom language:
@include code.sh
Look:
@snippet snippet.cpp 0
A paragraph following a one line snippet should not be merged with it.
@snippet snippet.cpp 0
<p>
This one also not.
@snippet snippet.cpp 1
And this should not produce a warning.
Another paragraph.
*/
/** @page ansi ANSI color escape code highlighting
Including @code{.ansi} [31minline @endcode highlighting:
@code{.ansi}
![0;34m[[1;37mmosra@don-perverzo [0;37mm.css[0;34m][1;36m$ [0m
@endcode
@include console-colors.ansi
*/
/** @page warnings Code that produces warnings
@code
// Code without language
// description
@endcode
@code{.whatthehell}
Code that has unrecognizable format.
@endcode
Snippet that doesn't match anything:
@dontinclude code.sh
@skipline this is not there
*/
|