emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] [IDEA] HTML-export literal examples to textarea


From: Ulf Stegemann
Subject: [Orgmode] [IDEA] HTML-export literal examples to textarea
Date: Fri, 16 Jan 2009 10:51:58 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

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?

Ulf






reply via email to

[Prev in Thread] Current Thread [Next in Thread]