doxygen markdown无法分析受保护的代码块

doxygen markdown无法分析受保护的代码块,markdown,doxygen,Markdown,Doxygen,Doxygen无法在标记文件中进行分析。以下是我的片段: ~~~~~~~~~~~~~~~~~~~~{.cpp} #include <cstdio> int main() { printf("Hello World"); } ~~~~~~~~~~~~~~~~~~~~~~~~~~ 我的错误是什么?事后看来,这看起来微不足道,但我花了很多时间调试它,所以我认为应该与社区分享。问题是,围栏块的开始和结束处的波浪线数应相等 至少需要3个瓷砖来标记一个围栏块,但是为了使围栏块更容易看

Doxygen无法在标记文件中进行分析。以下是我的片段:

~~~~~~~~~~~~~~~~~~~~{.cpp}
#include <cstdio>

int main() {
    printf("Hello World");
}
~~~~~~~~~~~~~~~~~~~~~~~~~~

我的错误是什么?

事后看来,这看起来微不足道,但我花了很多时间调试它,所以我认为应该与社区分享。问题是,围栏块的开始和结束处的波浪线数应相等

至少需要3个瓷砖来标记一个围栏块,但是为了使围栏块更容易看到,我喜欢将它们延伸到整条线。我最初复制粘贴了末尾的起始行,但后来我删除了一些
~
s,以便为
{.cpp}
腾出空间

~~~c
~~~c
#include <cstdio>

int main() {
    printf("Hello World");
}
~~~
#包括 int main(){ printf(“你好世界”); } ~~~
在开始和结束时使用相同数量的(~)。 您可以喜欢它更有用的代码块

~~~c
#include <cstdio>

int main() {
    printf("Hello World");
}
~~~