View source for Création et mise en évidence de blocs de code

WackoWiki est facilement extensible pour un formatteur particulier utiliser ""%%(nom) truc%%""
#|| ||
""%%(php) PHP%%""
|
%%(php)
<?php
phpinfo();
$s = "Hello, World!\n";
print "$s";
?>
%%
|| ||
""""
||| ||

|| ||
##""%%(cl)zypper dup --no-recommends%%""##
| 
%%(cl)
zypper dup --no-recommends
%%
|| ||
|| ||
##""%%(chat [type="div|table"])
chat log
%%""##
|
%%(chat type="table")
[12:04] Mike: Hi altogether.
[12:05] Alice: Did you check out the link https://example.com/
[12:10] Pete: I did't read your message.
The images 
you drawn
are awesome!
%%
|| ||
|| ||
""%%(email) Email%%""
|
%%(email)
Hi!
>> Yes, it is.
>Are you sure?

Of course, yes!

Roman.
%%
|| ||
""""
||| ||
""%%(noautolinks) Pas de lien automatique à partir des mots du CamelCase%%""
|
%%(noautolinks) Pas de lien automatique à partir des mots du CamelCase%%
|| ||
""%%(wacko) Créer un exemple%%""
|
%%(wacko) Créer un exemple%%

|| ||
""%%(sql) SQL-Code%%""
|
%%(sql)
SELECT * FROM sometable WHERE a = '12' and b = 2 ORDER BY c DESC --Comment
%%
|| ||


|| ||
Il y a aussi des marques pour (ini), (html), (css) und (pascal).

|| ||
""%%(html) HTML-Code%%""
|
%%(html)
<a href="http://example.com/">test</a>
%%
|| ||
""%%(ini) ini-Code%%""|
%%(ini)
[Wiki]
BestEngine="WackoWiki"
Version=6
%%
|| ||
""%%(css) CSS-Code%%""|
%%(css)
body {margin: 0; padding:5px;}
.class {background:url("http://example.com/")}
%%
|| ||
""%%(pascal) PASCAL-Code%%""|
%%(pascal)
{ comment }
BEGIN
 if a = 15 then writeln("test");
END.
%%
|| ||
====Info box====
##""%%(info type="note" title="Remarks" icon=0) content... %%""##

Types: ##default##, ##error##, ##example##, ##important##, ##note##, ##question##, ##quote##, ##success##, ##warning##
##title## box title
##icon## show icon, default value is ##1##

|| ||
---- ##""%%(info type="note")
contenu... 
%%""##
|
%%(info type="note")
A wiki is a website where users can add, remove, and edit every page using a web browser. It's so terrifically easy for people to jump in and revise pages that wikis are becoming known as the tool of choice for large, multiple-participant projects.
%%
|| ||
---- ##""%%(info type="warning" title="Avertissement")
contenu... 
%%""##
|
%%(info type="warning" title="Avertissement")
Comme pour toute installation de logiciel accessible via Internet, les erreurs ou les problèmes de sécurité sont exploités par des tiers. N'installez WackoWiki que si vous maintenez l'installation à jour.
%%
|| ||

====PEAR Text Highlighter====
PEAR package for syntax highlighting

##""%%(hl [Formatter] numbers=1 start=2) code example %%""##

##numbers## line numbering type: ##1## -> ol, ##2## -> Table
##start##  lets the line numbers start at any number, and not just at ##1## 

Formatter: ##abap##, ##cpp##, ##css##, ##diff##, ##dtd##, ##html##, ##java##, ##javascript##, ##perl##, ##php##, ##ruby##, ##python##, ##sh##, ##sql##, ##vbscript##, ##xml##. 
|| ||
----##""%%(hl css) CSS-Code%%""##
|
%%(hl css)
body {margin: 0; padding:5px;}
.class {background:url("http://example.com/")}
%%
|| ||---- ##""%%(hl javascript) Javascript-Code%%""##
|
%%(hl javascript)
var a = document.getElementById("test");
a.value = new Array(15, 31);
function echo (msg) {alert(msg)};
%%
|| ||---- ##""%%(hl php numbers=2) PHP-Code%%""##
|
%%(hl php numbers=2)
<?php
phpinfo();
$s = "Hello, World!\n";
print "$s";
?>
%%
|| ||---- ##""%%(hl xml) xml-Code%%""##
|
%%(hl xml)
<config>
<section name="test">
  <var>Test</var>
  <val><![CDATA[..text...]]></val>
</section>
</config>
%%
|| ||
====GeSHi====
((/Dev/PatchesHacks/GeSHi GeSHi Code Highlighting)) - Generic Syntax Highlighter

##""%%(geshi [Formatter] numbers=1 start=35 lines=37) source%%""##
|| ||
----##""%%(geshi css) CSS-Code%%""##
|
%%(geshi css)
body {margin: 0; padding: 5px;}
.class {background: url("http://example.com/")}
%%
|| ||
Si vous voyez **Formateur** ##highlight/geshi## **n'a pas trouvé**, le ((/Dev/PatchesHacks/GeSHi GeSHi formatter)) n'a pas été ajouté à ce site.
|| ||
|| ||#