emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: jmcbray@carcosa.net (Jason F. McBrayer)
To: Carsten Dominik <dominik@uva.nl>
Cc: org-mode <emacs-orgmode@gnu.org>
Subject: Re: exporting src as html
Date: Thu, 17 Jul 2008 10:16:34 -0400	[thread overview]
Message-ID: <m163r4a94t.fsf@bertrand.carcosa.net> (raw)
In-Reply-To: <49DE6F8A-035F-44E1-BE17-9F3DBE5FD203@uva.nl> (Carsten Dominik's message of "Wed, 16 Jul 2008 10:42:59 -0700")

Carsten Dominik <dominik@uva.nl> 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.

-- 
+-----------------------------------------------------------+
| Jason F. McBrayer                    jmcbray@carcosa.net  |
| If someone conquers a thousand times a thousand others in |
| battle, and someone else conquers himself, the latter one |
| is the greatest of all conquerors.  --- The Dhammapada    |

  reply	other threads:[~2008-07-17 14:16 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-12 18:07 exporting src as html Richard G Riley
2008-07-14 18:31 ` Carsten Dominik
2008-07-15  2:21   ` Richard G Riley
2008-07-16 17:42     ` Carsten Dominik
2008-07-17 14:16       ` Jason F. McBrayer [this message]
2008-07-17 14:24         ` Richard G Riley
2008-07-17 16:29           ` Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m163r4a94t.fsf@bertrand.carcosa.net \
    --to=jmcbray@carcosa.net \
    --cc=dominik@uva.nl \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).