|The Org Mode 7 Reference Manual
by Carsten Dominik and others
Paperback (6"x9"), 282 pages
RRP £9.95 ($14.95)
Sales of this book support the Org project! Get a printed copy>>>
11.4 Include files
During export, you can include the content of another file. For example, to include your ‘.emacs’ file, you could use:
#+INCLUDE: "~/.emacs" src emacs-lisp
The optional second and third parameter are the markup (e.g. ‘quote’,
‘example’, or ‘src’), and, if the markup is ‘src’, the
language for formatting the contents. The markup is optional: if it is not
given, the text will be assumed to be in Org-mode format and will be
processed normally. The include line will also allow additional keyword
:prefix to specify prefixes for the
first line and for each following line, as well as any options accepted by
the selected markup. For example, to include a file as an item, use
#+INCLUDE: "~/snippets/xx" :prefix1 " + " :prefix " "
- C-c '
- Visit the include file at point.
|ISBN 9781906966089||The Org Mode 7 Reference Manual||See the print edition|