Just a question Dan, it looks like the Asciidoctor format has the tags
test inside a comment?

If so thats a quite unfortunate choice.  From a language design point
of view, making anything inside a comment significant is always a bad
idea, no matter how unlikely it is that the actual syntax will occur
accidentally.

Cheers
Lex


On 24 July 2015 at 09:26, Dan Allen <[email protected]> wrote:
>
> On Thu, Jul 23, 2015 at 5:17 PM, Lex Trotman <[email protected]> wrote:
>>
>> You can define an attribute just before the include, and use ifdef::
>> in the included file.
>
>
> Nice tip.
>
> Keep in mind, ifdef doesn't work inside include files in Asciidoctor unless
> the include file is AsciiDoc syntax. That's because Asciidoctor passes
> through include files unprocessed unless it has a known AsciiDoc file
> extension (.adoc, .ad, asc, .asciidoc or .txt).
>
> 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.

-- 
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