Administrator
2681 posts
|
FYI, this is now possible.
Cheers,
-Dan
On Mon, Oct 3, 2016 at 8:07 AM ctargett [via Asciidoctor :: Discussion] < [hidden email]> wrote:
I have some content that will be reused by other tech writers on a different product, and they pull parts of the original document with tags. I have a document that looks like this:
// tag::section1[]
Intro to a feature.
//tag::subsection1[]
Stuff about using the feature one way.
//end::subsection1[]
//tag::subsection2[]
Stuff about using the feature another way.
//end::subsection2[]
//end::section1[]
Is it possible for me to define an include that gets everything in section1, skipping subsection1 since that's not relevant to the other product? Something like "include::doc.adoc[tags=section1,-subsection1]"?
--
|