Charles, Excellent - that is precisely what I needed.
Additionally, I can avoid having to include the :wrap keyword on every header by specifying a single buffer-wide header arguments, such as #+PROPERTY: header-args :wrap org-results-container Thanks, ~ malcolm_c...@stowers.org ________________________________________ From: Charles C. Berry <ccbe...@ucsd.edu> Sent: Wednesday, October 21, 2015 9:18 PM To: Cook, Malcolm Cc: emacs-orgmode@gnu.org Subject: Re: ox-html HOWTO? exporting #+RESULTS inside div On Wed, 21 Oct 2015, Cook, Malcolm wrote: > Hi, > > I would like to contrive for the contents of results blocks to be > embedded in a new div with a common class of org-results-container. Try this: --8<---------------cut here---------------start------------->8--- #+BEGIN_SRC shell :exports both :wrap org-results-container echo "org results here" #+END_SRC --8<---------------cut here---------------end--------------->8--- which html export renders as --8<---------------cut here---------------start------------->8--- <div class="org-results-container"> <p> org results here </p> </div> --8<---------------cut here---------------end--------------->8--- You can add a special-block filter if the <p> ... </p> is unwanted. HTH, Chuck