emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Pascal J. Bourguignon" <pjb@informatimago.com>
To: help-gnu-emacs@gnu.org
Cc: emacs-orgmode@gnu.org
Subject: Re: Colorizing 'emacs-lisp' when it is exported?
Date: Sun, 22 Dec 2013 20:00:08 +0100	[thread overview]
Message-ID: <871u1490ef.fsf@kuiper.lan.informatimago.com> (raw)
In-Reply-To: 20131222160315.45d492c2@london

Sharon Kimble <boudiccas@talktalk.net> writes:

> Thanks to auntie google I've found out how to keep the formatting of
> elisp on export to html using '#+BEGIN_SRC emacs-lisp' at the beginning
> of the code block, and '#+END_SRC' at the end. Whilst its in .emacs its
> nicely colorized, but how do I colorize the output when its been
> exported please? For once, google has drawn a blank, unfortunately!

I use htmlize-buffer (or htmlize-region) from htmlize.

-- 
__Pascal Bourguignon__
http://www.informatimago.com/
"Le mercure monte ?  C'est le moment d'acheter !"

  parent reply	other threads:[~2013-12-22 19:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-22 16:03 Colorizing 'emacs-lisp' when it is exported? Sharon Kimble
2013-12-22 18:29 ` Jambunathan K
2013-12-22 19:00 ` Pascal J. Bourguignon [this message]
2013-12-22 23:49 ` Sean O'Halpin
2013-12-23  0:07   ` Sharon Kimble
2013-12-24 14:43     ` Sharon Kimble

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=871u1490ef.fsf@kuiper.lan.informatimago.com \
    --to=pjb@informatimago.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=help-gnu-emacs@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).