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):
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:
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.
*/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With