meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
wiki:syntax [2010/03/27 03:53] kaimartinwiki:syntax [2012/10/30 11:12] – [Formatting Syntax] kmk
Line 1: Line 1:
- 
-=====  Lokale Tipps und Tricks ===== 
- 
-==== Links in Überschriften  ==== 
-Anders als bei Wikipedia kann man bei Dokuwiki keine Links in Überschriften unterbringen. Die Entwickler sind der Meinung, dass das schlechter Stil wäre und weigern sich standhaft, es als Feature zuzulassen. Als Notlösung kann man aber auf HTML zurückgreifen: 
-<code> 
-<html><h2><u><a href="http://bibo.iqo.uni-hannover.de";>Link-in-Überschrift</a></u> neben dem Linktext</h2></html> 
-</code> 
-Im Ergebnis sieht das so aus: 
-<html><h2><u><a href="http://bibo.iqo.uni-hannover.de";>Link-in-Überschrift</a></u> neben dem Linktext</h2></html> 
-So eine HTML-Überschrift taucht allerdings nicht in der automatisch erzeugten Inhaltsangabe auf. Außerdem ist man auf echte URLs eingeschränkt. Wikilinks sind auf diese Weise nicht mögllich. 
-==== Achtung-Schilder ==== 
-in diesem Wiki ist das Note-Plug-IN installiert. Damit kann man etwas aufdringleicher auf einen Umstanfd hinweisen. Die Syntax ist im einfachsten Fall:  
-<code><note>Eine wichtige Anmerkung</note></code> 
-<note>Eine Anmerkung</note> 
-Wenn es noch aufdringlicher sein soll, kann das erste Tag durch das Wort "important" ergänzen:  
-<note important>Eine wichtige Anmerkung!</note> 
-Und in Ganz schweren Fällen kann man "warning" einsetzen: 
-<note warning>Achtung, eine wichtige Warnung!</note> 
- 
-==== Lokale Smileys ==== 
-Diese Umsetzungen von ascii-Zeichen in kleine Bildchen sind im Wiki der ElektronIQ zusätzlich definiert. 
-  * --> %%  -->  %% 
-  * <-- %%  <--  %% 
-  * :ok: %%  :ok:  %% 
-  * :Ok: %%  :Ok:  %% 
-  * :OK: %%  :OK:  %% 
-  * :no: %% :no: %% 
-Die Ersetzungen sind in %% /etc/dokuwiki/smileys %% eingetragen. Die zugehörigen Bilder sitzen in  %% /usr/share/dokuwiki/lib/images/smileys/ %%. 
- 
 ====== Formatting Syntax ====== ====== Formatting Syntax ======
  
-[[doku>DokuWiki]] supports some simple markup language, which tries to make the datafiles to be as readable as possible. This page contains all possible syntax you may use when editing the pages. Simply have a look at the source of this page by pressing the //Edit this page// button at the top or bottom of the page. If you want to try something, just use the [[playground:playground|playground]] page. The simpler markup is easily accessible via [[doku>toolbar|quickbuttons]], too.+[[doku>DokuWiki]] supports some simple markup language, which tries to make the datafiles to be as readable as possible. This page contains all possible syntax you may use when editing the pages. Simply have a look at the source of this page by pressing the //Edit this page// button at the top or bottom of the page. If you want to try something, just use the page [[wiki:spielwiese|Spielwiese]]. The simpler markup is easily accessible via [[doku>toolbar|quickbuttons]], too.
  
 ===== Basic Text Formatting ===== ===== Basic Text Formatting =====
Line 104: Line 74:
   DokuWiki supports [[doku>Interwiki]] links. These are quick links to other Wikis.   DokuWiki supports [[doku>Interwiki]] links. These are quick links to other Wikis.
   For example this is a link to Wikipedia's page about Wikis: [[wp>Wiki]].   For example this is a link to Wikipedia's page about Wikis: [[wp>Wiki]].
- 
  
 ==== Windows Shares ==== ==== Windows Shares ====
Line 115: Line 84:
  
   * For security reasons direct browsing of windows shares only works in Microsoft Internet Explorer per default (and only in the "local zone").   * For security reasons direct browsing of windows shares only works in Microsoft Internet Explorer per default (and only in the "local zone").
-  * For Mozilla and Firefox it can be enabled through different workaround mentioned in the [[http://kb.mozillazine.org/Links_to_local_pages_don't_work|Mozilla Knowledge Base]].+  * For Mozilla and Firefox it can be enabled through different workaround mentioned in the [[http://kb.mozillazine.org/Links_to_local_pages_do_not_work|Mozilla Knowledge Base]]. However, there will still be a JavaScript warning about trying to open a Windows Share. To remove this warning (for all users), put the following line in ''conf/local.protected.php'':
  
 +  $lang['js']['nosmblinks'] = '';
  
 ==== Image Links ==== ==== Image Links ====
Line 402: Line 372:
  
 <code java> <code java>
-/**+**
  * The HelloWorldApp class implements an application that  * The HelloWorldApp class implements an application that
  * simply displays "Hello World!" to the standard output.  * simply displays "Hello World!" to the standard output.
- */+ -!
 class HelloWorldApp { class HelloWorldApp {
     public static void main(String[] args) {     public static void main(String[] args) {
Line 413: Line 383:
 </code> </code>
  
-The following language strings are currently recognized: //abap, actionscript-french, actionscript, actionscript3, ada, apache, applescript, asm, asp, autoit, avisynth, bash, basic4gl, bf, bibtex, blitzbasic, bnf, boo, c, c_mac, caddcl, cadlisp, cfdg, cfm, cil, cmake, cobol, cpp, cpp-qt, csharp, css, d, dcs, delphi, diff, div, dos, dot, eiffel, email, erlang, fo, fortran, freebasic, genero, glsl, gml, gnuplot, groovy, gettext, haskell, hq9plus, html, idl, ini, inno, intercal, io, java5, java, javascript, kixtart, klonec, klonecpp, latex, lisp, locobasic, lolcode, lotusformulas, lotusscript, lscript, lsl2, lua, m68k, make, matlab, mirc, modula3, mpasm, mxml, mysql, nsis, oberon2, objc, ocaml-brief, ocaml, oobas, oracle8, oracle11, pascal, perl, per, php-brief, php, pic16, pixelbender, plsql, povray, powershell, progress, prolog, properties, providex, python, qbasic, rails, rebol, reg, robots, ruby, sas, scala, scheme, scilab, sdlbasic, smalltalk, smarty, sql, tcl, teraterm, text, thinbasic, tsql, typoscript, vbnet, vb, verilog, vhdl, vim, visualfoxpro, visualprolog, whitespace, winbatch, whois, xml, xorg_conf, xpp, z80//+The following language strings are currently recognized: //4cs, abap, actionscript-french, actionscript, actionscript3, ada, apache, applescript, asm, asp, autoconf, autohotkey, autoit, avisynth, awk, bash, basic4gl, bf, bibtex, blitzbasic, bnf, boo, c, c_mac, caddcl, cadlisp, cfdg, cfm, chaiscript, cil, clojure, cmake, cobol, cpp, cpp-qt, csharp, css, cuesheet, d, dcs, delphi, diff, div, dos, dot, ecmascript, eiffel, email, erlang, fo, fortran, freebasic, fsharp, gambas, genero, genie, gdb, glsl, gml, gnuplot, groovy, gettext, gwbasic, haskell, hicest, hq9plus, html, icon, idl, ini, inno, intercal, io, j, java5, java, javascript, jquery, kixtart, klonec, klonecpp, latex, lisp, locobasic, logtalk, lolcode, lotusformulas, lotusscript, lscript, lsl2, lua, m68k, magiksf, make, mapbasic, matlab, mirc, modula2, modula3, mmix, mpasm, mxml, mysql, newlisp, nsis, oberon2, objc, ocaml-brief, ocaml, oobas, oracle8, oracle11, oxygene, oz, pascal, pcre, perl, perl6, per, pf, php-brief, php, pike, pic16, pixelbender, plsql, postgresql, povray, powerbuilder, powershell, progress, prolog, properties, providex, purebasic, python, q, qbasic, rails, rebol, reg, robots, rpmspec, rsplus, ruby, sas, scala, scheme, scilab, sdlbasic, smalltalk, smarty, sql, systemverilog, tcl, teraterm, text, thinbasic, tsql, typoscript, unicon, vala, vbnet, vb, verilog, vhdl, vim, visualfoxpro, visualprolog, whitespace, winbatch, whois, xbasic, xml, xorg_conf, xpp, z80//
  
 ==== Downloadable Code Blocks ==== ==== Downloadable Code Blocks ====
Line 509: Line 479:
 | %%~~NOTOC~~%%   | If this macro is found on the page, no table of contents will be created | | %%~~NOTOC~~%%   | If this macro is found on the page, no table of contents will be created |
 | %%~~NOCACHE~~%% | DokuWiki caches all output by default. Sometimes this might not be wanted (eg. when the %%<php>%% syntax above is used), adding this macro will force DokuWiki to rerender a page on every call | | %%~~NOCACHE~~%% | DokuWiki caches all output by default. Sometimes this might not be wanted (eg. when the %%<php>%% syntax above is used), adding this macro will force DokuWiki to rerender a page on every call |
 +
 ===== Syntax Plugins ===== ===== Syntax Plugins =====