From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Cook, Malcolm" Subject: Re: ox-html HOWTO? exporting #+RESULTS inside div Date: Thu, 22 Oct 2015 06:13:56 +0000 Message-ID: <1445494436616.55293@stowers.org> References: , Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47366) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zp98V-0007LI-En for emacs-orgmode@gnu.org; Thu, 22 Oct 2015 02:14:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zp98S-00033b-5g for emacs-orgmode@gnu.org; Thu, 22 Oct 2015 02:14:03 -0400 Received: from smtp02.stowers.org ([40.141.174.62]:44000) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zp98R-00033W-Uu for emacs-orgmode@gnu.org; Thu, 22 Oct 2015 02:14:00 -0400 In-Reply-To: Content-Language: en-US List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "Charles C. Berry" Cc: "emacs-orgmode@gnu.org" Charles, =0A= =0A= Excellent - that is precisely what I needed.=0A= =0A= Additionally, I can avoid having to include the :wrap keyword on every head= er by specifying a single buffer-wide header arguments, such as=0A= =0A= #+PROPERTY: header-args :wrap org-results-container=0A= =0A= Thanks,=0A= =0A= ~ malcolm_cook@stowers.org=0A= =0A= ________________________________________=0A= From: Charles C. Berry =0A= Sent: Wednesday, October 21, 2015 9:18 PM=0A= To: Cook, Malcolm=0A= Cc: emacs-orgmode@gnu.org=0A= Subject: Re: ox-html HOWTO? exporting #+RESULTS inside div=0A= =0A= On Wed, 21 Oct 2015, Cook, Malcolm wrote:=0A= =0A= > Hi,=0A= >=0A= > I would like to contrive for the contents of results blocks to be=0A= > embedded in a new div with a common class of org-results-container.=0A= =0A= Try this:=0A= =0A= --8<---------------cut here---------------start------------->8---=0A= #+BEGIN_SRC shell :exports both :wrap org-results-container=0A= echo "org results here"=0A= #+END_SRC=0A= --8<---------------cut here---------------end--------------->8---=0A= =0A= which html export renders as=0A= =0A= --8<---------------cut here---------------start------------->8---=0A=
=0A=

=0A= org results here=0A=

=0A= =0A=
=0A= --8<---------------cut here---------------end--------------->8---=0A= =0A= You can add a special-block filter if the

...

is unwanted.=0A= =0A= HTH,=0A= =0A= Chuck=