Is it possible to skip tags included in another tag?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Is it possible to skip tags included in another tag?

ctargett
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]"?
Loading...