emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Syntax highlighting for JSON/JavaScript/Java code examples


From: Peter Davis
Subject: Re: [O] Syntax highlighting for JSON/JavaScript/Java code examples
Date: Wed, 05 Oct 2016 14:24:23 -0400

On Wed, Oct 5, 2016, at 01:38 PM, Peter Davis wrote:
> I'm trying to include code examples in a doc. They're JSON, but 'js'
> doesn't seem to work, so I'm using 'java'. 
> 
> I just discovered that I don't have htmlize in my setup, so I added
> that. Now org is trying to do syntax highlighting, at least when
> exporting HTML, but I'm getting this:
> 
> org-babel-exp process dot at line 143...
> executing Dot code block...
> Wrote c:/Users/pdavis/AppData/Local/Temp/babel-8776xe_/ob-input-877621O
> Code block evaluation complete.
> face-attribute: Invalid face
> 
> 
> Any hints, or ideas for trouble-shooting this?

Nevermind. My bad.

I had copied the htmlize.el from an xemacs installation. Stupid.

I just installed htmlize via package manager and all seems good for now.
I'm even getting the syntax highlighting!

Thanks,
-pd


-- 
  Peter Davis
  www.techcurmudgeon.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]