From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Folding code sections in HTML export? Date: Wed, 17 Aug 2011 12:06:19 +0200 Message-ID: <87ty9ggxno.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:57336) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qtd0I-0003cT-VI for emacs-orgmode@gnu.org; Wed, 17 Aug 2011 06:05:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qtd0H-0004vO-V4 for emacs-orgmode@gnu.org; Wed, 17 Aug 2011 06:05:42 -0400 Received: from mail-ww0-f49.google.com ([74.125.82.49]:47687) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qtd0H-0004vG-NU for emacs-orgmode@gnu.org; Wed, 17 Aug 2011 06:05:41 -0400 Received: by wwf10 with SMTP id 10so636481wwf.30 for ; Wed, 17 Aug 2011 03:05:40 -0700 (PDT) In-Reply-To: (Ken Williams's message of "Thu, 11 Aug 2011 15:59:03 +0000") 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: Ken.Williams@thomsonreuters.com Cc: emacs-orgmode@gnu.org Hi Ken, writes: > Has anyone developed a way to use a collapsable-div section in HTML export > of code sections? What I'd love is for all code sections to export their > content into the HTML, but sections with ":exports none" or ":exports > results" to have the code initially collapsed, while sections with > ":exports code" or ":exports both" to have it initially expanded. > > Any precedent? Sorry I can't help here. I suspect both the org-info.js and the Babel gurus are on vacation... let's wait and see if they encountered such a need. Best, -- Bastien