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 :
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
but without line numbers feature.
Comments
Post a Comment