Include Files (Org Mode Compact Guide)

Next: Comment Lines, Previous: Table of Contents, Up: Exporting [Contents]

### 12.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 first parameter is the file name to include. The optional second parameter specifies the block type: ‘`example`’, ‘`export`’ or ‘`src`’. The optional third parameter specifies the source code language to use for formatting the contents. This is relevant to both ‘`export`’ and ‘`src`’ block types.

You can visit the included file with `C-c '`.