Rodolfo Aramayo <raram...@gmail.com> writes: > Hi, > I have downloaded the org-source file corresponding to: > http://orgmode.org/worg/org-contrib/babel/examples/fontify-src-code-blocks. > html > Installed color-theme-leuven.el > Opened the file in emacs and exported as html > Despite my best efforts I cannot make the file display the pretty > color I see in the web site for the emacs-lisp code block > The emacs-lisp code blocks seems to be properly displayed in emacs (I > can see blus and green fonts) but never in the html file
Screenshot of your Emacs frame and HTML file please. I suspect that the problem is with css. Also tell if you are using your own CSS for code blocks or the one generated by htmlize.el itself. There is a bug whereby Emacs default fg/bg (one or both) don't get passed on to exported HTML file. This has been around for a long time. But nobody has complained yet and I am surprised. > Ideas? > > Thanks > > --