Is anyone using the syntax_highlighting extension?

It seems to be doing the parsing, but when it renders in a page, it's strictly as "code" html, so all the <span> tags that input as part of it are rendered as well.

For example,

<r:code language="python">
  import pygments
  foo = "bar"

renders as:

<span class="k">import</span> <span class="nn">pygments</span> <span class="n">foo</span> <span class="o">=</span> <span class="n">"bar"</ span>

Any ideas? There is currently no filter set on the page, and if I set it to "textile" all the < & > get turned to &lt; & &gt;, respectively.

Is there another option for syntax highlighting? I would like to have more languages than code_ray currently supports.
Radiant mailing list

Reply via email to