Javascript snippet to convert doxygen style comment to HTML

Posted by Tobi on Stack Overflow See other posts from Stack Overflow or by Tobi
Published on 2009-06-07T16:06:48Z Indexed on 2010/04/15 7:03 UTC
Read the original article Hit count: 294

Filed under:
|

In relation to this question, I was wondering if anyone knows a javascript code snippet/library to convert a single doxygen comment to HTML?

For example,

/** This is a comment block
 *
 * \b bold text
 * \i italic text
 */

would be converted to something like:

<p>This is a comment block</p>
<p><b>bold</b> text</p>
<p><i>italic</i> text</p>

Similar for all the other formatting related tags of doxygen.

I've found this already, which seems to be a good starting point if I have to implement it myself, but possibly I'm missing a complete project :-)

So, suggestions welcome!

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about doxygen