As a follow-up to this previous question, I'd like to add a title to a <pre> box, indicating what kind of code is inside it (e.g. R, sh, perl, ...).  But I can't use a <div> as in the previous question, because the <pre> is generated by another tool (org-mode export).  It looks like this:
<pre class="src src-R">
here <- is(the=code)
</pre>
So I'm hoping to create a src-R class that adds an R title to the <pre> box, in pure CSS, or if that's not possible, using some additional Javascript.
Any pointers appreciated!
 
     
    