FYI I wrote something a while back that does something similar for XHTML output.
https://sourceforge.net/projects/collapsefilter/ Cheers, Will On 1 April 2016 at 00:52, Lex Trotman <[email protected]> wrote: > "Source" style runs filters, so you simply need to teach your source > filter to generate the appropriate output. > > Cheers > Lex > > On 1 April 2016 at 07:25, Britton Kerin <[email protected]> wrote: > > It would be nifty if I could get this (or something like it): > > > > .instrument.h > > [source, C] > > ---- > > include::instrument.h[] > > ---- > > > > to mean "show the title instrument.h, and give a little + or so that > > the user could click to > > expand a view of it". This would be especially useful for discussing > > code files but might be > > useful for other types of block quotes as well. > > > > I realize it's backend-specific and therefore maybe not really > appropriate. > > > > Britton > > > > -- > > 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 https://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 https://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 https://groups.google.com/group/asciidoc. For more options, visit https://groups.google.com/d/optout.
