emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] exporting src as html


From: Carsten Dominik
Subject: Re: [Orgmode] exporting src as html
Date: Thu, 17 Jul 2008 09:29:04 -0700


On Jul 17, 2008, at 7:24 AM, Richard G Riley wrote:


address@hidden (Jason F. McBrayer) writes:

Carsten Dominik <address@hidden> writes:

Hi,

do any of the HTML gurus on this list have an opinion on the
additional div for specific source examples?


Instead of doing something like this:
<div class="src">
 <div class="src-emacs-lisp">
   (psychoanalyze-pinhead)
 </div>
</div>

you should do something like this:

<div class="src src-emacs-lisp">
 (psychoanalyze-pinhead)
</div>

Both the src and src-emacs-lisp classes will get applied to that div.

Yes, but end result the same. I think it's a nice addition to be able to
customise different src types ones self.

OK, you got it. src-emacs-lisp for emacs list and accordingly for other modes. BEGIN_EXAMPLE get the "example" class.

- Carsten





reply via email to

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