Search code examples
c++htmlemacssyntax-highlightingorg-mode

C/C++ code highlighting looks weird in a web page


My emacs have a black background and white text. If I convert org-files to html code-highlighting will probably look weird. In particular, the displayed "main" and "[]" are basically invisible.

How to make it look beautiful, or at least clearly readable?

see here
(source: newsmth.net)


Solution

  • I'm not sure I understand what your problem is, but if you just need a good color scheme for code-highlighting, try solarized, it's an amazing color scheme, and there is a theme for emacs already made by someone.