I have code blocks written in Open Office Write and want colori开发者_JAVA百科ze it. How can I do this?
EDIT: When I copy syntax-highlighted code back to open office writer it becomes black again. How can I change this?
I think you need to take a look at coooder plugin for LibreOffice(OpenOffice).
You could try pygments.
I know this works for MS Word, but it may also work for Open Office.
http://www.planetb.ca/2008/11/syntax-highlight-code-in-word-documents/
精彩评论