H A D | xhtml.php | 43 /** @var int counts the code and file blocks, used to provide download links */ 58 * Key 'codeblockOffset': actual code block index 382 $this->doc .= '<code>'; 390 $this->doc .= '</code>'; 615 $this->doc .= '<pre class="code">' . trim($this->_xmlEntities($text), "\n\r") . '</pre>' . DOKU_LF; 632 * Display text as code content, optionally syntax highlighted 639 public function code($text, $language = null, $filename = null, $options = null) 641 $this->_highlight('code', $text, $language, $filename, $options); 645 * Use GeSHi to highlight language syntax in code and file blocks 647 * @param string $type code|fil 589 public function code($text, $language = null, $filename = null, $options=null) { global() function in Doku_Renderer_xhtml [all...] |