How to force Doxygen not to process the text in a code section of a markdown file? -


in main page of documentation, written in markdown, want put examples showing how comment code in project.

basically expect have same output on html file here on so, i.e. raw commented code in code sample view :

/** @brief brief description of function * * @details section describes in more details purpose  * of function , role module.  *  * @param [in] bar number deal * @retval result of operation */ uint8_t foo(uint8_t bar) { } 

to achieve put code in markdown file 4 spaces on left of each line.

the problem doxygen seems process these lines in standard source file , end :

enter image description here

is there way tell doxygen treat these lines plain text still put them in code view ? able numbered code view (\code , \endcode) don't solution since it's harder copy-paste content of view due line numbers being taken in selection.

the exact content of file here on pastebin : markdown.md

all want : enter image description here

but without line numbers feature.


Comments

Popular posts from this blog

java - Jasper subreport showing only one entry from the JSON data source when embedded in the Title band -

serialization - Convert Any type in scala to Array[Byte] and back -

SonarQube Plugin for Jenkins does not find SonarQube Scanner executable -