From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: adding "wrap=off" option to textarea for HTML export Date: Thu, 08 Sep 2016 13:54:36 -0400 Message-ID: <878tv28eg3.fsf@gmail.com> References: <87y432mlxl.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59674) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bi3XM-0003v9-QK for emacs-orgmode@gnu.org; Thu, 08 Sep 2016 13:54:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bi3XH-0002jY-IS for emacs-orgmode@gnu.org; Thu, 08 Sep 2016 13:54:55 -0400 Received: from [195.159.176.226] (port=45869 helo=blaine.gmane.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bi3XH-0002il-C8 for emacs-orgmode@gnu.org; Thu, 08 Sep 2016 13:54:51 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1bi3X7-00008c-Rk for emacs-orgmode@gnu.org; Thu, 08 Sep 2016 19:54:41 +0200 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" To: emacs-orgmode@gnu.org Eric S Fraga writes: > I'm preparing some documentation, exported to HTML, that includes the > output of a src block. Because this output is rather long, I have > > #+attr_html: :textarea t :height 20 > > before the results of the src block. This generates the correct > \n

" (or (plist-get attr :width) 80) (or (plist-get attr :height) (org-count-lines code)) (or (plist-get attr :wrap) "on") code))) --8<---------------cut here---------------end--------------->8--- Untested. -- Nick