You can define an attribute just before the include, and use ifdef:: in the included file.
Cheers Lex On 24 July 2015 at 06:20, Mark C <[email protected]> wrote: > Is there any equivalent in asciidoc to the asciidoctor tags function where, > e.g, > > include::foo.cpp[tags=bar] > > includes only the part of foo.cpp tagged by > > // tag::bar[] > ... > // end::bar[] > > It is an incredibly useful feature when but I have other issues with > asciidoctor to the point I'd prefer to continue using asciidoc. > > -- > 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.
