Sections in Ddoc?

Philippe Sigaud philippe.sigaud at gmail.com
Mon Aug 2 11:55:58 PDT 2010


On Mon, Aug 2, 2010 at 09:18, Lutger <lutger.blijdestijn at gmail.com> wrote:

>
> It isn't supported out of the box. You could further process ddoc output, I
> had
> something working nicely by spitting out xml instead of html and then using
> xquery to generate the docs, but am too much pressed for time to finish it.
>
> A more lightweight approach is to insert a css class though a custom ddoc
> macro:
>
> API_GROUP = <span class="$0"/>
>
> From there you can use css selectors for styling. I'm not sure how far you
> can
> get with just css. A wee bit of jquery might help. It will be pretty awkard
> anyway I suppose.
>

OK, thanks. I'll admit it readily: I've barely touched css, and I don't have
the faintest idea what a selector is, nor how to use jquery. So I'll write
it down as something that you cannot do easily and hope for brighter
tomorrows.

Philippe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20100802/4f8518b1/attachment.html>


More information about the Digitalmars-d-learn mailing list