I want a fenced code block to appear without any syntax highlighting. For the following code:
~~~
Behold this, for this is an orange.
~~~
I get for and this in color. Notice I have not specified the file extension. Do I need to specify a specific extension? I tried with {.txt}, but that didn’t help.
Doxygen will apply syntax highlighting to a fenced code block based on either an explicit language (
{.cpp}) or on the implicit language (the language of the code currently being parsed). If the language is not recognized, It appears to assume C/C++ syntax highlighting rules.Unfortunately, this means that the code will be formatted according to one of the languages supported by Doxygen, and there isn’t a way to trick it into displaying the fenced code block without syntax highlighting.