Client-side syntax highlighting
Compatible with DokuWiki
2006-03-05+
This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.
Similar to code, code2, highlightjs, jquery-syntax, syntaxhighlighter, syntaxhighlighter2, syntaxhighlighter3, syntaxhighlighter4
This plugin is identical to code by Chris Smith (actually, I've copy-pasted code from his plugin). Demo page and some docs (in Russian): http://debugger.ru/projects/psyhi/psyhi (via web.archive.org)
<code>some code</code>
<code|this is a header>some code</code>
Plugin has been tested in the following environments:
Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.
How do I use this? I do understand Russian, is there any documentation in English?All the required docs are placed here. You have to install this plugin, then it will take over<code>
tags processing from the original code plugin. — Ilya Lebedev 2008-02-17 22:34
The Button`s couldn't be viewed correct with Camino (1.5.4).
I like this plugin quite a bit! There are some issues I have, though:
<code>
tag or the line numbering is off by 1. If I start my code on the next line, then line number 1 is left blank.<code … </code>
tags.div.Controls span.stats
, except at the bottom left of the code box? Well, on second thought maybe I can be happy with just the header./lib/plugins/code/styles/styles.css
since the fonts looked too small on my browsers.Juice 2008-08-15
Oddly, I was able to get the code windows to display all of my code. Look at the (slightly convoluted)/lib/plugins/code/script.js
file, then add a single space right between these two divs:<div class=\"CodeContainer\"><div class=\"TextContainer\">This isn't exactly the fix I was looking for, though…
It would be nice to have (maybe) 3 options: have the code box closed, display all the code (what I'm doing now), or display 1-5 lines of the code with a scroll bar. Juice 2008-08-18
How can I control the first line number such as 0346 → 0347 → 0348?