On Fri, Oct 15, 2010 at 5:05 AM, Vinay Sajip <vinay_sa...@yahoo.co.uk>wrote:

> Is there a way to specify captions for literalincludes, which would
> lead to targetable markup in the output? At the moment I'm
> using :prepend: / :append:, but this leads to the added lines looking
> like they came from the included file. That's useful, but not for my
> use case: I'd like the caption (which might be prepended or appended)
> to have the potential to be styled differently, e.g.
>
> <div class="highlight-language">
>  <div class="highlight">
>    <div class="caption">My caption for included stuff</div>
>    <pre>Included stuff</pre>
>  </div>
> </div>
>
> Regards,
>
> Vinay Sajip
>
>
I haven't found a way to do this yet, but it's certainly a feature I'd like
to see.

Kevin Horn

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to sphinx-...@googlegroups.com.
To unsubscribe from this group, send email to 
sphinx-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.

Reply via email to