emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Folding code sections in HTML export?
@ 2011-08-11 15:59 Ken.Williams
  2011-08-17 10:06 ` Bastien
  0 siblings, 1 reply; 2+ messages in thread
From: Ken.Williams @ 2011-08-11 15:59 UTC (permalink / raw)
  To: emacs-orgmode

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?

--
Ken Williams
Senior Research Scientist

Thomson Reuters

http://labs.thomsonreuters.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Folding code sections in HTML export?
  2011-08-11 15:59 Folding code sections in HTML export? Ken.Williams
@ 2011-08-17 10:06 ` Bastien
  0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2011-08-17 10:06 UTC (permalink / raw)
  To: Ken.Williams; +Cc: emacs-orgmode

Hi Ken,

<Ken.Williams@thomsonreuters.com> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-08-17 10:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-11 15:59 Folding code sections in HTML export? Ken.Williams
2011-08-17 10:06 ` Bastien

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).