code3 plugin by Ilya Lebedev
Client-side syntax highlighting
Last updated on 2008-02-02. Provides Syntax.
Compatible with DokuWiki 2006-03-05+.
| Archive | Code v1.2 (24Kb, zip) |
|---|
This plugin is identical to code by Chris Smith (actually, i've a copy-pasted code from his plugin). Demo page and some docs(Russian): http://debugger.ru/projects/psyhi/psyhi
<code> some code</code>
<code|this is a header> some code</code>
Plugin has been tested in the following environments:
Back To The Future: 2008-08-01 :)
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.jsfile, 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 scrollbar. Juice 2008-08-18
—-
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported