Hi Dan,

Op Tue 19 May 2009, om 21:10 (+0200) schreef Dan Davison:

> 
> "Dirk-Jan C. Binnema" <djcb.b...@gmail.com> writes:
> 
> >
> > I seems that I should be able to automate that a bit... ie., maybe
> > something like:
> >
> > #+BEGIN_CODE(perl)
> > print "hello, world!";
> > #+END_CODE
> >
> >
> > But I'm not really sure if that would be the best approach. Did anyone
> > do something like this before?
> 
> Hi Dirk,
> 
> I think what you are describing is achieved by
> 
> * some heading
> #+BEGIN_SRC perl
> print "hello, world!";
> #+END_SRC
> 
> Then you just export the buffer as HTML.
> 
> See 
> 
> http://orgmode.org/manual/Literal-examples.html#Literal-examples
> 
> Sorry if I've misunderstood.

Wow, exactly what I was looking for! [/me falls from chair in
amazement]. Org-mode is even more fantastic than I thought. Silly me for
not finding that in the docs.

Thanks!!
Dirk.

-- 
Dirk-Jan C. Binnema                  Helsinki, Finland
e:d...@djcbsoftware.nl           w:www.djcbsoftware.nl
pgp: D09C E664 897D 7D39 5047 A178 E96A C7A1 017D DA3C


_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to