[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] html export with htmlized code blocks [SOLVED]
From: |
Dirk-Jan C. Binnema |
Subject: |
Re: [Orgmode] html export with htmlized code blocks [SOLVED] |
Date: |
Tue, 19 May 2009 23:07:51 +0300 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
Hi Dan,
Op Tue 19 May 2009, om 21:10 (+0200) schreef Dan Davison:
>
> "Dirk-Jan C. Binnema" <address@hidden> 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:address@hidden w:www.djcbsoftware.nl
pgp: D09C E664 897D 7D39 5047 A178 E96A C7A1 017D DA3C
- [Orgmode] html export with htmlized code blocks, Dirk-Jan C. Binnema, 2009/05/19
- Re: [Orgmode] html export with htmlized code blocks, Dan Davison, 2009/05/19
- Re: [Orgmode] html export with htmlized code blocks [SOLVED],
Dirk-Jan C. Binnema <=
- Re: [Orgmode] html export with htmlized code blocks [SOLVED, but...], Dirk-Jan C. Binnema, 2009/05/25
- Re: [Orgmode] html export with htmlized code blocks [SOLVED, but...], Sebastian Rose, 2009/05/25
- Re: [Orgmode] html export with htmlized code blocks [SOLVED, but...], Sebastian Rose, 2009/05/25
- Re: [Orgmode] html export with htmlized code blocks [SOLVED, but...], Sebastian Rose, 2009/05/25
- Re: [Orgmode] html export with htmlized code blocks [SOLVED], Dirk-Jan C. Binnema, 2009/05/20
- Re: [Orgmode] html export with htmlized code blocks, Sebastian Rose, 2009/05/19