speced / respec

A tool for creating technical documents and web standards
https://respec.org/
Other
720 stars 389 forks source link

Simpler callback entry #14

Closed darobin closed 12 years ago

darobin commented 12 years ago

Cullen wrote:

I wish I could write HTML like

<dl title='callback IceCandidateCallback = void' class='idl'  >
   <dt>IceCandidate candidate</dt>
   <dd>The new ICE candidate. </dd>
</dl>

and have it generate some IDL that looked something like

callback IceCandidateCallback = void( IceCandidate candidate )

with text below breaking out that parameters and explanation text for them much like respec does for an interface IDL

fluffy commented 12 years ago

Thanks for logging this - if / when someone starts working on this, I'm glad to test or help however I can.

darobin commented 12 years ago

Ok, this should now be supported in 3.0.5 using the syntax you asked for. Dom is now testing it, but it ought to be good. Tell me if you bump into a problem.

fluffy commented 12 years ago

Thanks - I'll give it a try ...