emacs-orgmode
[Top][All Lists]
Advanced

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

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


From: Carsten Dominik
Subject: Re: [Orgmode] [IDEA] HTML-export literal examples to textarea
Date: Sat, 17 Jan 2009 09:01:23 +0100


On Jan 16, 2009, at 10:51 AM, Ulf Stegemann wrote:

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.

Hi Ulf, so far I fail to see what the big advantage would be.  Can
you try again to explain?

- Carsten




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




_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode





reply via email to

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