Is there any way to put code blocks as a blockquote with doxygen markdown? This is useful when quoting from reference books, etc. I tried the following, but it does not print the code in a fixed width font.
> Put the following line in your program:
>
> printf("Hello, world.");
I would like that to appear like (I am using SO's markdown for illustration):
Put the following line in your program:
printf("Hello, world.");
According to the doxygen manual for markdown, The last > in a block quote line must be followed by a space in order for the line to be seen as a block quote. In your example above, there is no space, so the code is not seen as a block quote. If instead you specified it as (note the extra space on line 2):
> Put the following line in your program:
>
> printf("Hello, world.");
It should be rendered correctly.
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