Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
demo [28.11.2011 23:09] – angelegt Raphael Wimmer | demo [05.04.2019 08:55] (aktuell) – Raphael Wimmer | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
- | ===== Features in diesem DokuWiki ==== | + | ===== Features in diesem DokuWiki |
==== Notizen ==== | ==== Notizen ==== | ||
- | < | ||
- | Test-Eintrag | ||
- | </ | ||
- | ==== iCal-Kalendereinträge | + | <wrap center round tip> Einfach " |
- | {{ical> 2011-12-13 14:00 -> 15:00 @ FIL | Abschlussvortrag | + | |
+ | |||
+ | ==== Graphen | ||
+ | |||
+ | < | ||
+ | digraph finite_state_machine | ||
+ | rankdir=LR; | ||
+ | size=" | ||
+ | node [shape = doublecircle]; | ||
+ | node [shape = circle]; | ||
+ | LR_0 -> LR_2 [ label = " | ||
+ | LR_0 -> LR_1 [ label = " | ||
+ | LR_1 -> LR_3 [ label = " | ||
+ | LR_2 -> LR_6 [ label = " | ||
+ | LR_2 -> LR_5 [ label = " | ||
+ | LR_2 -> LR_4 [ label = " | ||
+ | LR_5 -> LR_7 [ label = " | ||
+ | LR_5 -> LR_5 [ label = " | ||
+ | LR_6 -> LR_6 [ label = " | ||
+ | LR_6 -> LR_5 [ label = " | ||
+ | LR_7 -> LR_8 [ label = " | ||
+ | LR_7 -> LR_5 [ label = " | ||
+ | LR_8 -> LR_6 [ label = " | ||
+ | LR_8 -> LR_5 [ label = " | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | |||
+ | ==== Syntax-Highlighting ==== | ||
+ | |||
+ | <code php; first-line: 70; highlight: [89,92]; title: New title attribute in action> | ||
+ | public function render($mode, | ||
+ | \\ | ||
+ | if($mode != ' | ||
+ | \\ | ||
+ | if (count($data) == 3) {\\ | ||
+ | list($syntax, | ||
+ | if ($syntax == ' | ||
+ | //Check if there' | ||
+ | if (preg_match("/ | ||
+ | // Extract title(s) from attribute string.\\ | ||
+ | $attr_array = explode(";", | ||
+ | $title_array = preg_grep("/ | ||
+ | //Extract everything BUT title(s) from attribute string.\\ | ||
+ | $not_title_array = preg_grep("/ | ||
+ | $attr = implode(";", | ||
+ | // If there are several titles, use the last one.\\ | ||
+ | $title = array_pop($title_array); | ||
+ | $title = preg_replace("/ | ||
+ | //Add title as an attribute to the // <//pre /> tag.\\ | ||
+ | $renderer→doc .= "// <//pre class=// <// | ||
+ | } else {\\ | ||
+ | // No title detected, pass all attributes as parameters to SyntaxHighlighter.\\ | ||
+ | $renderer→doc .= "< | ||
+ | }\\ | ||
+ | } else {\\ | ||
+ | $renderer→file($content); | ||
+ | }\\ | ||
+ | }\\ | ||
+ | \\ | ||
+ | return true;\\ | ||
+ | }\\ | ||
+ | </ | ||
+ | |||
+ | ==== Tables and calculations ==== | ||
+ | |Max|5| | ||
+ | |Moritz|6| | ||
+ | |Franz|7| | ||
+ | |Tom|8| | ||
+ | |Avg: | ||
+ |