Hi Taur,

Maybe you could wrap the entire source code block in a div and then use
CSS to change the attributes of the div and the contained paragraph and
image

#+HTML: <div class="inline-paragraphs">
source block....
#+HTML: </div>

-- Eric

Taru Karttunen <tar...@taruti.net> writes:

> Hello
>
> I have org-babel code like
>
> #+begin_src R :var data=foo :file foo.png :exports results                    
>                                       
> pie(data[,2], labels = data[,1])                                              
>                                                               #+end_src
>
> Which ends up html-exported as:
>
> <p><img ... /></p>
>
> I would like to export the generated image inline rather than as a
> separate paragraph. However matching that <p> does not work with
> CSS as it lacks parent selectors. ATTR_HTML only affects the <img>
> which does not help.
>
> Any ideas?
>
> - Taru Karttunen
>
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to