emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Including source code *from* a file in #+BEGIN_SRC blocks


From: Puneeth Chaganti
Subject: Re: [O] Including source code *from* a file in #+BEGIN_SRC blocks
Date: Sun, 11 Dec 2011 12:23:16 +0530

On 12/11/11, Sankalp <address@hidden> wrote:
> Hi,
> I've been using org mode's #+BEGIN_SRC ... <code> #+END_SRC feature to
> display source code.
>
> I was wondering if there's a way to include code from an external file.
> Like the *\lstinputlisting* feature in the LaTeX *listings* package.

You could use the #+INCLUDE directive.
http://orgmode.org/manual/Include-files.html

HTH,
Puneeth



reply via email to

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