Ok. The following gives me the desired result:
\code
/*/** */* \brief a goog friend of Bar */
@interface Foo
@end
\endcode
This separates the two *'s of the displayed comment with an invisible doc
comment...
On Jan 26, 2013, at 7:16 AM, Mark Zeren <[email protected]> wrote:
>
> I am trying to write Objective-C coding guidelines in a markdown file and
> would like to provide code examples that include doc comments. However when I
> do something like:
>
> \code{.m}
> /** a good friend of Bar */
> @interface Foo
> @end
> \endcode
>
> The comment becomes a blank line in the resulting code block in the html
> output.
>
> If I escape the second asterisk like so:
>
> \code{.m}
> /*\* a good friend of Bar */
> @interface Foo
> @end
> \endcode
>
> Then the comment appears, but so does the \.
>
> Is there some way that I can get doxygen to emit (and colorize) a doc comment
> in a code block?
>
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Doxygen-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/doxygen-users