tags:

views:

12

answers:

0

I'd like to start using ASDoc to generate pretty HTML from my ActionScript code… But, coming from Python, I just can't stomach the idea of filling my asdoc comments with HTML.

So, is there any way simple way to ask ASDoc to preprocess documentation comments? For example, so I can have a comment like this:

/**
 * Return the maximum of some set.
 * >>> max(1, 2, 3)
 * 3
 */

Which is turned into HTML that looks something more like this:

<p>Return the maximum of some set.</p>
<pre>
&gt;&gt;&gt; max(1, 2, 3)
3
...
</pre>