- publishing free software manuals
The Org Mode 7 Reference Manual
by Carsten Dominik and others
Paperback (6"x9"), 282 pages
ISBN 9781906966089
RRP £9.95 ($14.95)

Sales of this book support the Org project! Get a printed copy>>>

12.5.7 Text areas in HTML export

An alternative way to publish literal code examples in HTML is to use text areas, where the example can even be edited before pasting it into an application. It is triggered by a -t switch at an example or src block. Using this switch disables any options for syntax and label highlighting, and line numbering, which may be present. You may also use -h and -w switches to specify the height and width of the text area, which default to the number of lines in the example, and 80, respectively. For example

#+BEGIN_EXAMPLE -t -w 40
  (defun org-xor (a b)
     "Exclusive or."
     (if a (not b) b))
ISBN 9781906966089The Org Mode 7 Reference ManualSee the print edition