After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 720049 - Parse issue when using @interface in Markdown style verbatim or code blocks
Parse issue when using @interface in Markdown style verbatim or code blocks
Status: RESOLVED OBSOLETE
Product: doxygen
Classification: Other
Component: general
1.8.5
Other Mac OS
: Normal minor
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
[moved_to_github]
Depends on:
Blocks:
 
 
Reported: 2013-12-08 02:58 UTC by Jasper Blues
Modified: 2018-07-30 10:56 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jasper Blues 2013-12-08 02:58:38 UTC
In order to parse this following file: http://jasperblues.github.io/Typhoon/api/interface_typhoon_factory_provider.html

. . I had to escape the '@', '<', and '>' characters. 

There is a minor problem remaining, in that the '\' character is appearing in the code snippets. 


Also, it would be good if Doxygen could fail/warn more loudly if it encounters a header with these characters. . the current behavior is it just strips out the doc.
Comment 1 Dimitri van Heesch 2013-12-08 11:50:53 UTC
The problem is that you used markdown-indentation to create the code blocks and not @code..@endcode or @snippet. 

Doxygen first searches for structural commands (like @interface, which is also a doxygen command) before it applies the markdown formatting. 

You can argue this is a bug in doxygen (so I'll leave this bug report open), but I would still recommend to use @code..@endcode so you don't need to escape and also get syntax highlighting and hyperlinks in your code snippets.
Comment 2 Jasper Blues 2013-12-08 11:54:47 UTC
If you think it's appropriate to leave the error open, then ok. 

However, I think it was mostly a user error. I'm happy as long as I can get my snippets in, and @code / @endcode will work nicely. . (didn't see these). 

I was also looking at creating an examples directory and using @include. 

Thanks for very kindly providing your time to help me resolve this.
Comment 3 Jasper Blues 2013-12-08 12:02:09 UTC
w00t! That fixed it. It even has color coding now.
Comment 4 Dimitri van Heesch 2013-12-08 12:36:01 UTC
Good to hear. I've update the title to better reflect the remaining issue.
Comment 5 André Klapper 2018-07-30 10:56:34 UTC
As discussed in https://github.com/doxygen/doxygen/pull/734 , Doxygen has moved its issue tracking to 

   https://github.com/doxygen/doxygen/issues

All Doxygen tickets in GNOME Bugzilla have been migrated to Github. You can subscribe and participate in the new ticket in Github. You can find the corresponding Github ticket by searching for its Bugzilla ID (number) in Github.

Hence I am closing this GNOME Bugzilla ticket.
Please use the corresponding ticket in Github instead. Thanks a lot!