emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] In HTML export =code= appears too large compared to regular text


From: Bastien
Subject: Re: [O] In HTML export =code= appears too large compared to regular text
Date: Sat, 12 Jan 2013 14:41:32 +0100
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux)

Hi John,

John Corless <address@hidden> writes:

> I am interested in changing the appearance of =code= (or ~verbatim~
> for that matter) in HTML export.  In exporting the previous sentence
> with default =C-c C-e b=, the words code and verbatim are much larger
> than neighboring text.  Worg pages look much nicer (see examples on 
> http://orgmode.org/worg/), as do Wiki pages generated on Github with
> Gollum (using org-mode as markup, see my simple example at https://
> github.com/jdcorless/research-tools-notes/wiki/Emacs).  I would like
> to get the same appearance in my regular HTML exports.

You need to customize the CSS for this.  You can try this:

(setq org-export-html-style
   "<style type="text/css">
    <![CDATA[
       p { font-weight: normal; color: gray; }
       h1 { color: black; }
      .title { text-align: center; }
      .todo, .timestamp-kwd { color: red; }
      .done { color: green; }
      code { font-size: 90%; }
    ]]>
   </style>")

-- 
 Bastien



reply via email to

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