plugin:code3
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| plugin:code3 [2008-08-15 19:51] – 70.152.41.31 | plugin:code3 [2023-12-21 19:07] (current) – new download url Aleksandr | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Code Replacement Plugin ====== | ||
| + | |||
| + | ---- plugin ---- | ||
| + | description: | ||
| + | author | ||
| + | email : ilya@lebedev.net | ||
| + | type : syntax | ||
| + | lastupdate : 2008-02-02 | ||
| + | compatible : 2006-03-05+ | ||
| + | depends | ||
| + | conflicts | ||
| + | similar | ||
| + | tags : code, syntax, syntaxhighlight | ||
| + | |||
| + | downloadurl: | ||
| + | bugtracker : | ||
| + | sourcerepo : | ||
| + | donationurl: | ||
| + | |||
| + | screenshot_img: | ||
| + | ---- | ||
| + | |||
| + | This plugin is identical to [[plugin: | ||
| + | Demo page and some docs (in Russian): [[https:// | ||
| + | |||
| + | ===== Features ===== | ||
| + | |||
| + | * does code coloring on the **client side** | ||
| + | * it uses [[http:// | ||
| + | * client controllable line numbering of code (line numbering on/off) | ||
| + | * client controllable open/ | ||
| + | * client controllable viewing/ | ||
| + | * copy all code in a block in one click with clipboard copy button | ||
| + | * looks professional | ||
| + | |||
| + | ===== Usage ===== | ||
| + | |||
| + | * general use '' | ||
| + | * for a header '' | ||
| + | |||
| + | |||
| + | ===== Compatibility ===== | ||
| + | |||
| + | Plugin has been tested in the following environments: | ||
| + | * DokuWiki 2006-03-05+ | ||
| + | * Browsers | ||
| + | - Internet Explorer 6,7 | ||
| + | - Opera 9.10, 9.21 | ||
| + | - Safari/ | ||
| + | - Firefox 2.0.4 | ||
| + | |||
| + | ===== Installation ===== | ||
| + | |||
| + | Search and install the plugin using the [[plugin: | ||
| + | |||
| + | ===== Changelog ===== | ||
| + | |||
| + | * **2008-08-01 Version 1.2**: | ||
| + | * fixed text copying | ||
| + | * added newlines recognition in markup mode | ||
| + | * fixed insertion of empty comment lines | ||
| + | * **2008-08-01 Version 1.1**: | ||
| + | * added newlines recognition | ||
| + | * fixed occasional deletion of unknown tokens | ||
| + | * **2007-27-06 Version 1.0**: | ||
| + | * first public release | ||
| + | * PSyHi v0.3 used | ||
| + | |||
| + | ===== Discussion ===== | ||
| + | |||
| + | >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 ''< | ||
| + | |||
| + | ---- | ||
| + | |||
| + | The Button`s couldn' | ||
| + | |||
| + | ---- | ||
| + | |||
| + | :!: I like this plugin quite a bit! There are some issues I have, though: | ||
| + | - for me, the first line of code has to begin on the same line as the ''< | ||
| + | - opening or closing brackets or parenthesis at the very beginning of a line (in my code) are chopped out! This isn't a big deal since all I have to do is add a space before the bracket or parenthesis... Could this be fixed? | ||
| + | - oddly, code3 adds a newline after any CSS comment within the ''< | ||
| + | - could there be an option to control the size of the code window? | ||
| + | - likewise, could there be an option to have a code block collapsed? | ||
| + | - could there be an option for a footer to describe the code window? something like '' | ||
| + | - I had to modify the font sizes in ''/ | ||
| + | // | ||
| + | > Oddly, I was able to get the code windows to display all of my code. Look at the (slightly convoluted) ''/ | ||
| + | |||
| + | ---- | ||
| + | |||
| + | How can I control the first line number such as 0346 -> 0347 -> 0348? | ||
