Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我很难找到解释如何在 Doxygen markdown 中添加换行符的文档。
我试过在行尾使用两个空格,我也尝试过单换行或双换行,但这些都不适合我。
我正在使用 Doxygen 1.8.9.1 版。
<br>在你想要换行的地方放一个 HTML-break 标签,就可以了。至少对于手册页输出和 HTML 输出。
<br>
在行尾添加\n一个空格 [1]。
\n
特别推荐在使用 Emacs 进行编辑时,它会对其他建议的解决方案做出奇怪的反应<br>。
[1] 根据@albert 的评论。在 Doxygen 1.8.13 下为我工作。