I have configured highlight.js and this works ok.

In a document I have:


◊pre{◊code[#:class "python"]{
for x in range(3):
    print x
}}


which works fine.

When I add a function to make using python code easier like this:


◊(define (python . xs)
   `(pre (code ((class ,(format "~a" "python"))) ,@xs)))

then I could use

◊python{
for x in range(3):
    print x
}

Now the problem. I transferred the python function into pollen.rkt like 
follows:

(define (python . xs)
  `(pre (code ((class ,(format "~a" "python"))) ,@xs)))


Now the python code will not be highlighted.

What is my mistake? Thanks a lot.

-- Manfred

-- 
You received this message because you are subscribed to the Google Groups 
"Pollen" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to