On Fri, Jul 10, 2015 at 2:50 AM, Dan Allen <[email protected]> wrote:

> [role="if-windows"]
> == Installing on Windows
>
> If you are using Asciidoctor, you can write this as:
>
> [.if-windows]
> == Installing on Windows
>

To be honest, this really looks like the cleanest approach to me. You can
always change the XML when you transform it with XSL if you want to move
the "if-" value to a dedicated attribute. That way, you don't need to mess
with AsciiDoc / Asciidoctor templates.

Cheers,

-Dan


-- 
Dan Allen | http://google.com/profiles/dan.j.allen

-- 
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/asciidoc.
For more options, visit https://groups.google.com/d/optout.

Reply via email to