emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [IDEA] HTML-export literal examples to textarea
@ 2009-01-16  9:51 Ulf Stegemann
  2009-01-17  8:01 ` Carsten Dominik
  0 siblings, 1 reply; 15+ messages in thread
From: Ulf Stegemann @ 2009-01-16  9:51 UTC (permalink / raw)
  To: emacs-orgmode

Is it worth thinking about an example block that will be exported to a
"<p><textarea ...>...</textarea></p>" structure in HTML export?

I was recently playing around with org for online documentation. The
documents contained lots of literal examples that can be directly copied
and pasted e.g. into a terminal emu. While example- and src blocks work
fine, I think that putting this kind of information into a textarea
would be even better.

Ideally the cols attribute to textarea could be defined by the user
after #+begin_textarea (or whatever) with a reasonable default (let's
say 80). Rows could be calculated depending on the number of lines
inside the block.

Export to anything else than HTML should treat such a block in much the
same way as an example block.

I think this really would be a nice feature to have and maybe I'm not
alone with this opinion?


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

end of thread, other threads:[~2009-01-20 11:34 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-16  9:51 [IDEA] HTML-export literal examples to textarea Ulf Stegemann
2009-01-17  8:01 ` Carsten Dominik
2009-01-19  7:25   ` Ulf Stegemann
2009-01-19  8:31     ` Carsten Dominik
2009-01-19  8:56       ` Ulf Stegemann
2009-01-19  9:01         ` Carsten Dominik
2009-01-19 11:14           ` Ulf Stegemann
2009-01-19 17:16             ` Carsten Dominik
2009-01-19 22:16               ` Carsten Dominik
2009-01-19 22:32                 ` Sebastian Rose
2009-01-20 11:34                 ` Ulf Stegemann
2009-01-19 10:57         ` Manish
2009-01-19 11:59           ` Sebastian Rose
2009-01-19 12:04             ` Manish
2009-01-19  9:02       ` Tassilo Horn

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


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).