This is a read-only archive. Find the latest Linux articles, documentation, and answers at the new!

Syntax highlighting

Posted by: Anonymous [ip:] on October 10, 2007 05:31 PM
Nice article!

Another approach for syntax highlighting:
highlight --syntax=python --inline-css > sample.html

OOWriter can then easily import the colored html.

The downside is that you can't tweak the appearance in Writer since all the styling is "direct formatting" in the code block.


Return to Converting text files into ODF with odtwriter