Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Doxygen multiple bold words

Tags:

doxygen

I am trying to make an entire line of text bold. The Doxygen documentation states:

\b Displays the argument using a bold font. Equivalent to < b>word< /b>. To put multiple words in bold use < b>multiple words< /b>.

I have tried (before reading HTML commands section):

  • \\! \b lots of words \b
  • \\! < b> lots of words < /b>
  • \\! \b lots of words /b
  • \\! \b < lots of words > \b

I looked at HTML tags < B> and < /B> but I don't want to tie the formatting to only HTML output. Aside from this when I tried '\\!< B> lots of words < /B>' it did not work.

Note:

  • The text is in paragraph (\par).
  • Spaces in < b> and < /b> are added to stop this webpage interpeting them as literal bold tags.
like image 833
10SecTom Avatar asked Feb 06 '18 15:02

10SecTom


1 Answers

Your second attempt is the correct way to bold out multiple words in doxygen (without the spaces between b tags of course). Note that if you are doing non-standard delimiters for comments, then you will need to specify what those delimiers are in your doxygen configuration file.

/**
@mainpage
This short example contains some text markup
illustrating how to do html formatting in doxygen.
.
This will be < em>italic< /em> and this is
< b>how you make lots of words bold.< /b> You will
have to remove the spaces from the tags.
*/
like image 198
Justin Randall Avatar answered Oct 11 '22 20:10

Justin Randall