Doxygen 多个粗体字
Doxygen multiple bold words
我正在尝试将整行文本设为粗体。 Doxygen 文档指出:
\b Displays the argument using a bold font. Equivalent
to < b>word< /b>. To put multiple words in bold use < b>multiple
words< /b>.
我试过了(在阅读 HTML 命令部分之前):
- \\! \b 很多字 \b
- \\! 很多字
- \\! \b 很多字 /b
- \\! \b < 很多单词 > \b
我查看了 HTML 标记 和 ,但我不想将格式仅绑定到 HTML 输出。除此之外,当我尝试“\\!< B> lots of words ”时,它没有用。
注:
- 正文在段落 (\par) 中。
- 在 < b> 和 < /b> 中添加了空格,以阻止此网页将它们作为文字粗体标记插入。
您的第二次尝试是在 doxygen 中加粗多个单词的正确方法(当然 b 标签之间没有空格)。请注意,如果您对注释使用非标准分隔符,则需要在 doxygen 配置文件中指定这些分隔符。
/**
@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.
*/
从Doxygen 1.8.0开始,还可以使用Markdown语法**粗体文字**.
/**
@mainpage
**This will be rendered as bold text**
*/
我正在尝试将整行文本设为粗体。 Doxygen 文档指出:
\b Displays the argument using a bold font. Equivalent to < b>word< /b>. To put multiple words in bold use < b>multiple words< /b>.
我试过了(在阅读 HTML 命令部分之前):
- \\! \b 很多字 \b
- \\! 很多字
- \\! \b 很多字 /b
- \\! \b < 很多单词 > \b
我查看了 HTML 标记 和 ,但我不想将格式仅绑定到 HTML 输出。除此之外,当我尝试“\\!< B> lots of words ”时,它没有用。
注:
- 正文在段落 (\par) 中。
- 在 < b> 和 < /b> 中添加了空格,以阻止此网页将它们作为文字粗体标记插入。
您的第二次尝试是在 doxygen 中加粗多个单词的正确方法(当然 b 标签之间没有空格)。请注意,如果您对注释使用非标准分隔符,则需要在 doxygen 配置文件中指定这些分隔符。
/**
@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.
*/
从Doxygen 1.8.0开始,还可以使用Markdown语法**粗体文字**.
/**
@mainpage
**This will be rendered as bold text**
*/