emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Hendy <jw.hendy@gmail.com>
To: loochao maillist <loochao.maillist@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: How to include an extra css when export html
Date: Mon, 2 Jun 2014 14:27:07 -0500	[thread overview]
Message-ID: <CA+M2ft-uYFxoxhg7WczOfU0jLs7ygHdzCkaiP_M8xXTr9gL1qA@mail.gmail.com> (raw)
In-Reply-To: <CAPCHnfFWzGw47u+Q+PzsKCy4JyOO1vL8XHKzPguRYcDEYE0jbQ@mail.gmail.com>

Assuming Org >= 8.0, I use this:

#+html_head: <link rel="stylesheet" type="text/css" href="path-to-css" />

Stackoverflow from googling "orgmode 8.0 css"
- http://stackoverflow.com/questions/16453427/cant-get-emacs-org-mode-to-use-my-css-file

And Org-mode manual from googling "orgmode css html"
- http://orgmode.org/manual/CSS-support.html


Best regards,
John

On Mon, Jun 2, 2014 at 2:17 PM, loochao maillist
<loochao.maillist@gmail.com> wrote:
> Dear list,
>
> I'm trying to include my own css when using org-html-export-as-html.
>
> I tried to have
>
> # Local Variables:
> # org-export-html-style-extra: "<link rel=\"stylesheet\" type=\"text/css\"
> href=\"my-css-path" />"
> # End:
>
> and
> #+HTML_INCLUDE_STYLE: my-css-path
>
> But none of above work, is there any suggestion?
>
> Thanks,
>
> Chao

      reply	other threads:[~2014-06-02 19:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-02 19:17 How to include an extra css when export html loochao maillist
2014-06-02 19:27 ` John Hendy [this message]

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=CA+M2ft-uYFxoxhg7WczOfU0jLs7ygHdzCkaiP_M8xXTr9gL1qA@mail.gmail.com \
    --to=jw.hendy@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=loochao.maillist@gmail.com \
    /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).