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
--
You received this message because you are subscribed to the Google Groups
"sphinx-dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sphinx-dev?hl=en.