On Thursday, 8 Sep 2016 at 20:51, Nicolas Goaziou wrote:
> Hello,
>
> Eric S Fraga writes:
>
>> On Thursday, 8 Sep 2016 at 17:54, Nick Dokos wrote:
>>> Or modify the textarea function to understand :wrap - not sure whether
>>> Nicolas would accept a patch though:
>>
>> Would
On Friday, 9 Sep 2016 at 15:32, Clément Pit--Claudel wrote:
> On 2016-09-08 11:49, Eric S Fraga wrote:
>> 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.
>
>
On 2016-09-08 11:49, Eric S Fraga wrote:
> 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.
Hm. Doesn't the following work?
textarea {
white-space: pre;
}
On Thursday, 8 Sep 2016 at 17:54, Nick Dokos wrote:
> Can you add a post-processing hook? A simple text replacement might be enough.
This worked very well:
#+begin_src emacs-lisp :exports results :results none
(defun add-wrap-to-textarea (text backend info)
(when
Hello,
Eric S Fraga writes:
> On Thursday, 8 Sep 2016 at 17:54, Nick Dokos wrote:
>> Can you add a post-processing hook? A simple text replacement might be
>> enough.
>
> Very good suggestion. The HTML produced is quite straightforward so
> this should be easy. I'll play
On Thursday, 8 Sep 2016 at 17:54, Nick Dokos wrote:
> Can you add a post-processing hook? A simple text replacement might be enough.
Very good suggestion. The HTML produced is quite straightforward so
this should be easy. I'll play around. Thanks.
> Or modify the textarea function to
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
>
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
form in the HTML output. The text area form's width