* How to optionally export source blocks to HTML as only black-and-white?
@ 2014-09-28 23:19 Grant Rettke
0 siblings, 0 replies; only message in thread
From: Grant Rettke @ 2014-09-28 23:19 UTC (permalink / raw)
To: emacs-orgmode@gnu.org
Good evening,
It is great being able to export documents either to ASCII or HTML or
PDF. When I want to export to HTML, sometimes I want code blocks to be
black and white and sometimes I want the syntax highlighting to be the
same as in Emacs.
For the latter, `htmlize' does all of the work. For the former, I am
stuck. I am not sure how to do it.
It looks like coming up with a custom style-sheet might do it, but that
is probably wrong.
One option I've been considering is to change the color theme before
exporting, and I will try that.
Question: what is the best way to produce black and white pre blocks for
source code in export to HTML?
Kind regards,
--
Grant Rettke
gcr@wisdomandwonder.com | http://www.wisdomandwonder.com/
“Wisdom begins in wonder.” --Socrates
((λ (x) (x x)) (λ (x) (x x)))
“Life has become immeasurably better since I have been forced to stop
taking it seriously.” --Thompson
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-09-28 23:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-28 23:19 How to optionally export source blocks to HTML as only black-and-white? Grant Rettke
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).