doxygen - Adding support for language on a code fence block -


doxygen has support code fence blocks have syntax highlighting in output.

here documentation: https://www.stack.nl/~dimitri/doxygen/manual/markdown.html#md_fenced

it looks this:

~~~{.c} int somefunc(int somevar); ~~~ 

i want support .sql; tried it, did not highlight.

my 2 questions are:

  1. how determine code types doxygen supports code fence blocks?
  2. is there way define new one? quite happy keyword highlighter; not need full parse.

since comment, have looked adding sql syntax highlighting fenced code blocks , \code blocks.

it should available if build source @ https://github.com/doxygen/doxygen or available in next version(1.9.13).

here example of syntax highlighting:

sql syntax highlighting

if test before next release nice aswell.


Comments

Popular posts from this blog

sql server - Cannot query correctly (MSSQL - PHP - JSON) -

php - trouble displaying mysqli database results in correct order -

C++ Linked List -