emacs-orgmode
[Top][All Lists]
Advanced

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

[O] adding "wrap=off" option to textarea for HTML export


From: Eric S Fraga
Subject: [O] adding "wrap=off" option to textarea for HTML export
Date: Thu, 8 Sep 2016 16:49:10 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.94 (gnu/linux)

Hi,

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
<textarea> form in the HTML output.  The text area form's width is
automatically set to the text width using CSS.  The problem is that some
of the output lines in the src block results are quite long and they
wrap; this looks ugly.

To turn wrapping off, I would need to add 'wrap="off"' to the textarea
form as this option cannot be controlled using CSS unfortunately.  I
don't see any way to do this from org.

Any suggestions on how to accomplish this, assuming it is possible?  

Many thanks,
eric

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.94.1, Org release_8.3.5-1070-g190476



reply via email to

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