Création et mise en évidence de blocs de code
WackoWiki est facilement extensible pour un formatteur particulier utiliser%%(nom) truc%%%%(wacko) Créer un exemple%% |
Créer un exemple
|
|||||||||
%%(php) PHP%% |
|
|||||||||
%%(comment) Les commentaires ne seront affichés que dans le texte source.%% |
||||||||||
%%(noautolinks) Pas de lien automatique à partir des mots du CamelCase%% |
Pas de lien automatique à partir des mots du CamelCase
|
|||||||||
%%(details title="Summary" open=1) Details info. %% |
SummaryL'élément HTML<details> est utilisé comme un outil permettant de révéler une information. Un résumé ou un intitulé peuvent être fournis grâce à un élément <summary>.
|
|||||||||
%%(cl)zypper dup --no-recommends%% |
zypper dup --no-recommends |
|||||||||
%%(chat [type="div|table"]) |
|
|||||||||
%%(email) Email%% |
Hi! >> Yes, it is. >Are you sure? Of course, yes! Roman. |
|||||||||
%%(sql) SQL-Code%% |
SELECT * |
|||||||||
| Il y a aussi des marques pour (ini), (html), (css) und (pascal). |
||||||||||
%%(html) HTML-Code%% |
<a href="http://example.com/">test</a> |
|||||||||
%%(ini) ini-Code%% |
[Wiki] BestEngine="WackoWiki" Version=6 |
|||||||||
%%(css) CSS-Code%% |
body {margin: 0; padding:5px;}
.class {background:url("http://example.com/")}
|
|||||||||
%%(pascal) PASCAL-Code%% |
{ 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, warningtitle box titleicon show icon, default value is 1 |
||||||||||
%%(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")
|
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 HighlighterPEAR package for syntax highlighting%%(hl [Formatter] numbers=1 start=2) code example %%numbers line numbering type: 1 -> ol, 2 -> Tablestart 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%%
|
body {margin: 0; padding:5px;} .class {background:url("http://example.com/")} |
|||||||||
%%(hl javascript) Javascript-Code%%
|
var a = document.getElementById("test"); a.value = new Array(15, 31); function echo (msg) {alert(msg)}; |
|||||||||
%%(hl php numbers=2) PHP-Code%%
|
|
|||||||||
%%(hl xml) xml-Code%%
|
<config> <section name="test"> <var>Test</var> <val><![CDATA[..text...]]></val> </section> </config> |
|||||||||
GeSHiGeSHi Code Highlighting[link1] - Generic Syntax Highlighter%%(geshi [Formatter] numbers=1 start=35 lines=37) source%% |
||||||||||
%%(geshi css) CSS-Code%%
|
Formatter
highlight/geshi not found |
|||||||||
Si vous voyez Formateur highlight/geshi n'a pas trouvé, le GeSHi formatter[link1] n'a pas été ajouté à ce site. |
||||||||||
- [link1] https://wackowiki.org/doc/Dev/PatchesHacks/GeSHi