Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
wiki:syntax [2005/08/28 17:15] – naja, noch ein fehltipper normanzi | wiki:syntax [2024/08/15 09:47] (aktuell) – Externe Bearbeitung 127.0.0.1 | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
- | ====== | + | ====== |
- | Das [[wiki: | + | |
- | ===== Grundlegende Textformatierungen ===== | + | [[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 "Edit this page". If you want to try something, just use the [[playground: |
- | DokuWiki | + | |
- | DokuWiki unterstützt **fetten**, // | + | ===== Basic Text Formatting ===== |
- | Natürlich sind auch alle **__//'' | + | |
- | Du kannst auch < | + | DokuWiki supports **bold**, |
- | | + | |
+ | Of course you can **__//'' | ||
- | Du kannst ebenfalls etwas als <del>gelöscht</del> markieren. | + | You can use <sub>subscript</sub> and < |
- | | + | |
- | **Absätze** werden automatisch durch eine Leerzeile erstellt. Wenn Du einen **manuellen Zeilenumbruch** ohne Absatz erreichen möchtest so musst Du zwei Backslashes gefolgt von einem Leerzeichen einfügen. | + | You can mark something as < |
- | Dies ist ein Beispieltext mit ein paar Zeilenumbrüchen.\\ Beachte | + | You can mark something as < |
- | bitte, daß die beiden Backslashes nur am Ende der Zeile\\ | + | |
- | oder durch ein Leerzeichen gefolgt\\ beachtet werden. Hier \\passiert nichts. | + | |
- | Dies ist ein Beispieltext mit ein paar Zeilenumbrüchen.\\ Beachte | + | **Paragraphs** are created from blank lines. If you want to **force a newline** without a paragraph, you can use two backslashes followed by a whitespace or the end of line. |
- | bitte, daß die beiden Backslashes nur am Ende der Zeile\\ | + | |
- | oder durch ein Leerzeichen gefolgt\\ beachtet werden. Hier \\passiert nichts. | + | |
- | Du solltest manuelle Zeilenumbrüche nur da einsetzen wo Sie wirklich benötigt werden. | + | This is some text with some linebreaks\\ Note that the |
+ | two backslashes are only recognized at the end of a line\\ | ||
+ | or followed by\\ a whitespace \\this happens without it. | ||
+ | |||
+ | This is some text with some linebreaks\\ Note that the | ||
+ | two backslashes are only recognized at the end of a line\\ | ||
+ | or followed by\\ a whitespace \\this happens without it. | ||
+ | |||
+ | You should use forced newlines only if really needed. | ||
===== Links ===== | ===== Links ===== | ||
- | DokuWiki unterstützt viele verschiedene Arten von Links. | ||
- | ==== Externe Links ==== | + | DokuWiki supports multiple ways of creating links. |
- | Externe Links werden automatisch erkannt: http:// | + | |
+ | ==== External | ||
+ | |||
+ | External links are recognized automagically: http:// | ||
+ | |||
+ | DokuWiki supports multiple ways of creating links. External links are recognized | ||
+ | automagically: | ||
+ | link text as well: [[http:// | ||
+ | addresses like this one: < | ||
+ | |||
+ | ==== Internal ==== | ||
- | Externe Links werden automatisch erkannt: http://www.google.de oder nur www.google.de | + | Internal links are created by using square brackets. You can either just give a [[pagename]] or use an additional [[pagename|link text]]. |
- | Du kannst auch den Anzeigenamen der Links beeinflussen: | + | |
- | Emailadressen werden so dargestellt: | + | |
- | ==== Interne Links ==== | + | Internal links are created by using square brackets. You can either just give |
- | Interne Links werden mit eckigen Klammern erzeugt. Du kannst nur den [[doku> | + | |
- | Interne Links werden mit eckigen Klammern erzeugt. Du kannst nur den [[doku>wiki: | + | [[doku> |
- | oder auch zusätzlich einen [[doku> | + | |
- | werden automatisch in Kleinbuchstaben umgewandelt. Sonderzeichen sind nicht erlaubt. | + | |
- | Du kannst | + | You can use [[some: |
- | | + | |
- | Hier findest Du Details zu den [[doku>wiki:namespaces]]. | + | For details about namespaces see [[doku> |
- | Ein Link auf einen bestimmten Abschnitt einer Seite ist ebenfalls möglich. Einfach den Abschnittsnamen wie in HTML üblich hinter ein Doppelkreuz schreiben. Dies verlinkt einen [[syntax#abschnitt|Interner Abschnitt]]. | + | Linking to a specific section is possible, too. Just add the section name behind a hash character as known from HTML. This links to [[syntax#internal|this Section]]. |
- | | + | |
- | Bemerkung: | + | Notes: |
- | * Links zu [[wiki:syntax|existierenden Seiten]] werden anders angezeigt, als Links zu [[wiki:nicht existierenden Seiten]]. | + | * Links to [[syntax|existing pages]] are shown in a different style from [[nonexisting]] ones. |
- | * DokuWiki | + | * DokuWiki |
- | * Wenn sich eine Abschnitts-Überschrift ändert, dann ändert sich auch sein Lesezeichen. | + | * When a section' |
==== Interwiki ==== | ==== Interwiki ==== | ||
- | DokuWiki supports [[doku>wiki: | + | DokuWiki supports [[doku> |
- | DokuWiki supports [[doku>wiki: | + | DokuWiki supports [[doku> |
For example this is a link to Wikipedia' | For example this is a link to Wikipedia' | ||
==== Windows Shares ==== | ==== Windows Shares ==== | ||
- | So werden [[\\server\share|Windowsfreigaben]] dargestellt. Dies mach natürlich nur innerhalb eines [[wp> | ||
- | So werden | + | Windows shares like [[\\server\share|this]] are recognized, too. Please note that these only make sense in a homogeneous user group like a corporate [[wp> |
- | Bemerkung: | + | Windows Shares like [[\\server\share|this]] are recognized, too. |
- | * Aus Sicherheitsgründen lassen sich Windowsfreigaben standardmäßig nur im Microsoft Internet Explorer verwenden. (und hier auch nur in der " | + | |
- | * In Mozilla und Firefox kann dies mit der Option | + | |
- | * Unter [[bug> | + | |
- | ==== grafische Links ==== | + | Notes: |
- | Um eine Grafik für einen internen oder externen Link zu verwenden, musst Du die Syntax einfach wie folgt kombinieren: | + | |
- | [[http://www.php.net|{{wiki: | + | |
+ | * For Mozilla and Firefox it can be enabled through different workaround mentioned in the [[http://kb.mozillazine.org/ | ||
+ | <?php | ||
+ | /** | ||
+ | * Customization of the english language file | ||
+ | * Copy only the strings that needs to be modified | ||
+ | */ | ||
+ | $lang[' | ||
+ | </ | ||
+ | |||
+ | ==== Image Links ==== | ||
+ | |||
+ | You can also use an image to link to another internal or external page by combining the syntax for links and [[# | ||
+ | |||
+ | [[http://php.net|{{wiki: | ||
+ | |||
+ | [[http:// | ||
+ | |||
+ | Please note: The image formatting is the only formatting syntax accepted in link names. | ||
+ | |||
+ | The whole [[# | ||
- | [[http:// | + | ===== Footnotes ===== |
- | Bitte beachten: Die Formatierung von Grafiken ist die einzige im Linknamen akzeptierte Formatierung. | + | You can add footnotes ((This is a footnote)) by using double parentheses. |
- | ===== Fußnoten ===== | + | You can add footnotes |
- | Du kannst Fußnoten | + | |
- | Du kannst Fußnoten ((Dies ist eine Fußnote)) durch doppelte Klammernsetzung hinzufügen. | + | ===== Sectioning ===== |
- | ===== Dokumentenabschnitte ===== | + | You can use up to five different levels of headlines to structure your content. If you have more than three headlines, a table of contents is generated automatically -- this can be disabled by including the string |
- | Du kannst bis zu fünf verschiedenen Stufen von Überschriften einsetzen um Dein Dokument zu formatieren. Wenn mehr als drei Überschriften existieren dann wird automatisch ein Inhaltsverzeichniss für diese Seite eingefügt. Dieses Verhalten kann durch das Einfügen von ''< | + | |
- | ==== Level 3 Überschrift | + | ==== Headline |
- | === Level 4 Überschrift | + | === Headline |
- | == Level 5 Überschrift | + | == Headline |
- | ==== Level 3 Überschrift | + | ==== Headline |
- | === Level 4 Überschrift | + | === Headline |
- | == Level 5 Überschrift | + | == Headline |
- | Durch das verwenden von vier oder mehr Trennstrichen wird eine horizontale Linie erzeugt. | + | By using four or more dashes, you can make a horizontal line: |
---- | ---- | ||
- | ===== Grafiken und andere Dateien | + | ===== Media Files ===== |
- | Mit geschweiften Klammern kannst Du interne und externe Grafiken einfügen. Optional lässt sich auch eine Größe festlegen. | + | |
- | Orginal Größe: | + | You can include external and internal [[doku> |
- | Feste Breite: | + | Real size: {{wiki: |
- | Feste Breite und Höhe: {{wiki: | + | Resize to given width: {{wiki: |
- | Angepasste externe Grafik: {{http://de3.php.net/ | + | Resize to given width and height((when the aspect ratio of the given width and height doesn' |
- | Orginal Größe: {{wiki: | + | Resized external image: {{https://www.php.net/ |
- | Feste Breite: | + | |
- | Feste Breite und Höhe: | + | |
- | Angepasste externe Grafik: | + | |
- | Die Ausrichtung wird durch ein Leerzeichen Links oder Rechts festgelegt | + | Real size: {{wiki: |
+ | Resize to given width: | ||
+ | Resize to given width and height: {{wiki: | ||
+ | Resized external image: {{https:// | ||
+ | |||
+ | |||
+ | By using left or right whitespaces you can choose the alignment. | ||
{{ wiki: | {{ wiki: | ||
Zeile 135: | Zeile 157: | ||
{{ wiki: | {{ wiki: | ||
- | Natürlich kann man auch eine Beschreibung angeben die meist als Tooltip dargestellt wird. | + | Of course, you can add a title (displayed as a tooltip by most browsers), too. |
- | {{ wiki: | + | {{ wiki: |
- | {{ wiki: | + | {{ wiki: |
- | Wenn Du auf eine interne oder externe Datei verweist die keine Grafik ist, so wird stattdessen ein Link angezeigt. | + | For linking an image to another page see [[#Image Links]] above. |
- | ===== Aufzählungen | + | ==== Supported Media Formats |
- | Dokuwiki unterstützt nummerierte und aufgezählte Listen. Um einen Listenpunkt zu erzeugen, beginne Deinen Text mit zwei Leerzeichen und einem '' | + | |
- | * Dies ist eine Liste | + | DokuWiki can embed the following media formats directly. |
- | * Der zweite Eintrag | + | |
- | * Es gibt verschiedene Abstufungen | + | |
- | * Noch ein Eintrag | + | |
- | | + | | Image | '' |
- | - Der zweite Eintrag | + | | Video | '' |
- | - Verwende eine Einrückung für tiefere Stufen. | + | | Audio | '' |
- | - Genau so funktioniert es | + | | Flash | '' |
+ | |||
+ | If you specify a filename that is not a supported media format, then it will be displayed as a link instead. | ||
+ | |||
+ | By adding ''? | ||
+ | |||
+ | {{wiki: | ||
+ | |||
+ | {{wiki: | ||
+ | |||
+ | ==== Fallback Formats ==== | ||
+ | |||
+ | Unfortunately not all browsers understand all video and audio formats. To mitigate the problem, you can upload your file in different formats for maximum browser compatibility. | ||
+ | |||
+ | For example consider this embedded mp4 video: | ||
+ | |||
+ | | ||
+ | |||
+ | When you upload a '' | ||
+ | |||
+ | Additionally DokuWiki supports a " | ||
+ | |||
+ | ===== Lists ===== | ||
+ | |||
+ | Dokuwiki supports ordered and unordered lists. To create a list item, indent your text by two spaces and use a '' | ||
+ | |||
+ | * This is a list | ||
+ | * The second item | ||
+ | | ||
+ | * Another item | ||
+ | |||
+ | | ||
+ | - Another item | ||
+ | - Just use indention for deeper levels | ||
+ | - That's it | ||
< | < | ||
- | * Dies ist eine Liste | + | * This is a list |
- | * Der zweite Eintrag | + | * The second item |
- | * Es gibt verschiedene Abstufungen | + | * You may have different levels |
- | * Noch ein Eintrag | + | * Another item |
- | - Die selbe Liste nummeriert | + | - The same list but ordered |
- | - Der zweite Eintrag | + | - Another item |
- | - Verwende eine Einrückung für tiefere Stufen. | + | - Just use indention for deeper levels |
- | - Genau so funktioniert es | + | - That's it |
</ | </ | ||
- | ===== Smileys | + | Also take a look at the [[doku> |
- | Dokuwiki konvertiert die am meisten verwendeten | + | |
+ | ===== Text Conversions | ||
+ | |||
+ | DokuWiki can convert certain pre-defined characters or strings into images or other text or HTML. | ||
+ | |||
+ | The text to image conversion is mainly done for smileys. And the text to HTML conversion is used for typography replacements, | ||
+ | |||
+ | ==== Text to Image Conversions ==== | ||
+ | |||
+ | DokuWiki converts commonly used [[wp> | ||
* 8-) %% 8-) %% | * 8-) %% 8-) %% | ||
* 8-O %% 8-O %% | * 8-O %% 8-O %% | ||
Zeile 185: | Zeile 247: | ||
* ;-) %% ;-) %% | * ;-) %% ;-) %% | ||
* ^_^ %% ^_^ %% | * ^_^ %% ^_^ %% | ||
+ | * m( %% m( %% | ||
* :?: %% :?: %% | * :?: %% :?: %% | ||
* :!: %% :!: %% | * :!: %% :!: %% | ||
Zeile 191: | Zeile 254: | ||
* DELETEME %% DELETEME %% | * DELETEME %% DELETEME %% | ||
- | ===== Typografische Zeichen ===== | + | ==== Text to HTML Conversions |
- | [[DokuWiki]] | + | |
+ | Typography: | ||
-> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r) | -> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r) | ||
- | "Er dachte | + | "He thought |
< | < | ||
-> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r) | -> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r) | ||
- | "Er dachte | + | "He thought |
</ | </ | ||
- | Bitte beachten: Diese Konvertierung kann in der Konfiguration abgeschaltet werden. | + | The same can be done to produce any kind of HTML, it just needs to be added to the [[doku> |
- | ===== Quotings ===== | + | There are three exceptions which do not come from that pattern file: multiplication entity (640x480), ' |
- | Manchmal möchte man einen Text markieren, damit ersichtlich wird dass es sich um eine Antwort oder Kommentar handelt. Hierfür ist die folgende Syntax: | + | |
- | Ok. dann am Dienstag. | + | ===== Quoting ===== |
- | > Nein, ich denke am Dienstag ist besser. | + | |
- | >> Können wir uns am Montag treffen? | + | |
- | Ok. dann am Dienstag. | + | Some times you want to mark some text to show it's a reply or comment. You can use the following syntax: |
- | > Nein, ich denke am Dienstag ist besser. | + | |
- | >> Können wir uns am Montag treffen? | + | |
- | ===== Tabellen ===== | + | < |
- | DokuWiki bietet eine einfach Syntax um Tabellen darzustellen. | + | I think we should do it |
- | ^ Überschrift 1 ^ Überschrift 2 ^ Überschrift 3 ^ | + | > No we shouldn' |
- | | Zeile 1 Spalte 1 | Zeile 1 Spalte 2 | Zeile 1 Spalte 3 | | + | |
- | | Zeile 2 Spalte 1 | Verbunde Zellen (Beachte die beiden pipes ohne Leerzeichen dazwischen) || | + | |
- | | Zeile 3 Spalte 1 | Zeile 3 Spalte 2 | Zeile 3 Spalte 2 | | + | |
- | Normale Spalten beginnen und enden mit einem '' | + | >> Well, I say we should |
- | ^ Überschrift 1 ^ Überschrift 2 ^ Überschrift 3 ^ | + | > Really? |
- | | Zeile 1 Spalte 1 | Zeile 1 Spalte 2 | Zeile 1 Spalte 3 | | + | |
- | | Zeile 2 Spalte 1 | Verbunde Zellen (Beachte die beiden pipes ohne Leerzeichen dazwischen) || | + | |
- | | Zeile 3 Spalte 1 | Zeile 3 Spalte 2 | Zeile 3 Spalte 2 | | + | |
- | Um zwei nebeneinander liegende Zellen zu verbinden muss die nächste Zelle einfach leer bleiben. Die Anzahl der Zelltrenner in eine Zeile muss aber immer gleich bleiben. | + | >> Yes! |
- | Überschriften sind auch in der ersten Spalte möglich. | + | >>> |
+ | </ | ||
- | | ^ Überschrift 1 ^ Überschrift 2 ^ | + | I think we should do it |
- | ^ Überschrift 3 | Zeile 1 Spalte 2 | Zeile 1 Spalte 3 | | + | |
- | ^ Überschrift 4 | Diesmal keine verbundenen Zellen | | | + | |
- | ^ Überschrift 5 | Zeile 3 Spalte 2 | Zeile 3 Spalte 3 | | + | |
- | Wie man sieht bestimmt der Zelltrenner vor der Zelle über deren formatierung. | + | > No we shouldn' |
- | | ^ Überschrift 1 ^ Überschrift 2 ^ | + | >> Well, I say we should |
- | ^ Überschrift 3 | Zeile 1 Spalte 2 | Zeile 1 Spalte 3 | | + | |
- | ^ Überschrift 4 | Diesmal keine verbundenen Zellen | | | + | |
- | ^ Überschrift 5 | Zeile 3 Spalte 2 | Zeile 3 Spalte 3 | | + | |
- | Bemerkung: Vertikale Verbindungen von Zellen sind nicht möglich. | + | > Really? |
- | Ausrichtungen innerhalb von den Zellen sind durch das Einfügen von zwei Leerzeichen möglich. Zwei Leerzeichen rechts richten den Text nach Links, zwei Leerzeichen links richten den Text nach rechts. Zwei Leerzeichen auf beiden Seiten zentrieren den Text. | + | >> Yes! |
- | ^ Tabelle mit Ausrichtung | + | >>> |
- | | rechts | zentriert | + | |
- | | links | + | |
- | | xxxx dummy xxxx | xxxx dummy xxxx | xxxx dummy xxxx | | + | |
- | So wirds gemacht: | + | ===== Tables ===== |
- | ^ Tabelle mit Ausrichtung | + | DokuWiki supports a simple syntax to create tables. |
- | | rechts | zentriert | + | |
- | | links | + | |
- | | xxxx dummy xxxx | xxxx dummy xxxx | xxxx dummy xxxx | | + | |
- | ===== Nicht interpretierte Abschnitte | + | ^ Heading 1 ^ Heading 2 ^ Heading 3 ^ |
- | Du kannst in Deine Dokumente Abschnitte einfügen die vom Dokuwiki nicht interpretiert werden. Die Zeilen beginnen | + | | Row 1 Col 1 | Row 1 Col 2 | Row 1 Col 3 | |
+ | | Row 2 Col 1 | some colspan (note the double pipe) || | ||
+ | | Row 3 Col 1 | Row 3 Col 2 | Row 3 Col 3 | | ||
+ | |||
+ | Table rows have to start and end with a '' | ||
+ | |||
+ | ^ Heading 1 ^ Heading 2 ^ Heading 3 ^ | ||
+ | | Row 1 Col 1 | Row 1 Col 2 | Row 1 Col 3 | | ||
+ | | Row 2 Col 1 | some colspan (note the double pipe) || | ||
+ | | Row 3 Col 1 | Row 3 Col 2 | Row 3 Col 3 | | ||
+ | |||
+ | To connect cells horizontally, | ||
+ | |||
+ | Vertical tableheaders are possible, too. | ||
+ | |||
+ | | ^ Heading 1 ^ Heading 2 ^ | ||
+ | ^ Heading 3 | Row 1 Col 2 | Row 1 Col 3 | | ||
+ | ^ Heading 4 | no colspan this time | | | ||
+ | ^ Heading 5 | Row 2 Col 2 | Row 2 Col 3 | | ||
+ | |||
+ | As you can see, it's the cell separator before a cell which decides about the formatting: | ||
+ | |||
+ | | ^ Heading 1 ^ Heading 2 ^ | ||
+ | ^ Heading 3 | Row 1 Col 2 | Row 1 Col 3 | | ||
+ | ^ Heading 4 | no colspan this time | | | ||
+ | ^ Heading 5 | Row 2 Col 2 | Row 2 Col 3 | | ||
+ | |||
+ | You can have rowspans (vertically connected cells) by adding '' | ||
+ | |||
+ | ^ Heading 1 ^ Heading 2 ^ Heading 3 ^ | ||
+ | | Row 1 Col 1 | this cell spans vertically | Row 1 Col 3 | | ||
+ | | Row 2 Col 1 | ::: | Row 2 Col 3 | | ||
+ | | Row 3 Col 1 | ::: | Row 2 Col 3 | | ||
+ | |||
+ | Apart from the rowspan syntax those cells should not contain anything else. | ||
+ | |||
+ | ^ Heading 1 ^ Heading 2 ^ Heading 3 ^ | ||
+ | | Row 1 Col 1 | this cell spans vertically | Row 1 Col 3 | | ||
+ | | Row 2 Col 1 | ::: | Row 2 Col 3 | | ||
+ | | Row 3 Col 1 | ::: | Row 2 Col 3 | | ||
+ | |||
+ | You can align the table contents, too. Just add at least two whitespaces at the opposite end of your text: Add two spaces on the left to align right, two spaces on the right to align left and two spaces at least at both ends for centered text. | ||
+ | |||
+ | ^ Table with alignment | ||
+ | | | ||
+ | |left | | ||
+ | | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx | | ||
+ | |||
+ | This is how it looks in the source: | ||
+ | |||
+ | ^ Table with alignment | ||
+ | | | ||
+ | |left | | ||
+ | | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx | | ||
+ | |||
+ | Note: Vertical alignment is not supported. | ||
+ | |||
+ | ===== No Formatting | ||
+ | |||
+ | If you need to display text exactly like it is typed (without any formatting), | ||
+ | |||
+ | < | ||
+ | This is some text which contains addresses like this: http:// | ||
+ | </ | ||
+ | The same is true for %%// | ||
+ | |||
+ | < | ||
+ | This is some text which contains addresses like this: http:// | ||
+ | </ | ||
+ | The same is true for %%// | ||
+ | |||
+ | ===== Code Blocks ===== | ||
+ | |||
+ | You can include code blocks into your documents by either indenting them by at least two spaces | ||
+ | |||
+ | This is text is indented by two spaces. | ||
< | < | ||
- | Dies ist ein formatierter Text bei dem alle Leerzeichen dargestellt werden. Wie zum Beispiel: | + | This is preformatted code all spaces are preserved: like |
</ | </ | ||
< | < | ||
- | Dies ist Quasi das Selbe. Wird verwendet um den Inhalt einer Datei darzustellen. | + | This is pretty much the same, but you could use it to show that you quoted a file. |
</ | </ | ||
- | Um den Interpreter einen Abschniss komplett ignorieren zu lassen kann man die Tags '' | + | Those blocks were created by this source: |
- | <nowiki> | + | This is text is indented by two spaces. |
- | Dieser Text enthält Links wie http:// | + | |
- | </nowiki> | + | |
+ | This is preformatted code all spaces are preserved: like <-this | ||
+ | </code> | ||
+ | |||
+ | < | ||
+ | This is pretty much the same, but you could use it to show that you quoted a file. | ||
+ | </file> | ||
- | Schau Dir den Quellcode zu dieser Seite an, um zu sehen wie die Tage verwendet werden. | + | ==== Syntax Highlighting ==== |
- | ===== Hervorheben von Syntax ===== | + | [[wiki:DokuWiki]] |
- | [[DokuWiki]] | + | |
<code java> | <code java> | ||
- | /** | + | /** |
* The HelloWorldApp class implements an application that | * The HelloWorldApp class implements an application that | ||
* simply displays "Hello World!" | * simply displays "Hello World!" | ||
Zeile 296: | Zeile 418: | ||
</ | </ | ||
- | Derzeit werden die folgenden Programmiersprachen unterstützt: // | + | The following language strings are currently recognized: //4cs 6502acme 6502kickass 6502tasm 68000devpac abap actionscript3 |
- | ===== Eingebundenes HTML und PHP ===== | + | There are additional [[doku> |
- | Mit den Tags '' | + | |
- | < | + | |
- | < | + | |
- | Hier ein bisschen <font color=" | + | |
- | </ | + | |
- | </ | + | |
- | < | + | ==== Downloadable Code Blocks ==== |
- | Hier ein bisschen <font color=" | + | |
- | </html> | + | When you use the '' |
< | < | ||
- | < | + | <file php myexample.php> |
- | echo 'Ein von PHP erzeugtes Logo:'; | + | <?php echo "hello world!"; ?> |
- | echo '<img src="' | + | </file> |
- | </php> | + | |
</ | </ | ||
- | < | + | <file php myexample.php> |
- | echo 'Ein von PHP erzeugtes Logo:'; | + | <? |
- | echo '<img src="' | + | </ |
- | </php> | + | |
+ | If you don't want any highlighting but want a downloadable file, specify a dash ('' | ||
+ | |||
+ | ===== RSS/ATOM Feed Aggregation ===== | ||
+ | [[DokuWiki]] can integrate data from external XML feeds. For parsing the XML feeds, [[http:// | ||
+ | |||
+ | ^ Parameter | ||
+ | | any number | will be used as maximum number items to show, defaults to 8 | | ||
+ | | reverse | ||
+ | | author | ||
+ | | date | show item dates | | ||
+ | | description| show the item description. All HTML tags will be stripped | | ||
+ | | nosort | ||
+ | | //n//[dhm] | refresh period, where d=days, h=hours, m=minutes. (e.g. 12h = 12 hours). | | ||
+ | |||
+ | The refresh period defaults to 4 hours. Any value below 10 minutes will be treated as 10 minutes. [[wiki: | ||
+ | |||
+ | By default the feed will be sorted by date, newest items first. You can sort it by oldest first using the '' | ||
+ | |||
+ | **Example: | ||
+ | |||
+ | {{rss> | ||
+ | |||
+ | {{rss>http:// | ||
+ | |||
+ | |||
+ | ===== Control Macros ===== | ||
+ | |||
+ | Some syntax influences how DokuWiki renders a page without creating any output it self. The following control macros are availble: | ||
+ | |||
+ | ^ Macro ^ Description | | ||
+ | | %%~~NOTOC~~%% | ||
+ | | %%~~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 ===== | ||
+ | |||
+ | DokuWiki' | ||
+ | |||
+ | ~~INFO: | ||
- | **Bitte Beachten**: | ||
- | Das Einbinden HTML und PHP ist in der Standardkonfiguration deaktiviert. In diesem Fall wird der Code nicht Ausgeführt, |