Lines Matching defs:code
44 /** @var int counts the code and file blocks, used to provide download links */
59 * Key 'codeblockOffset': actual code block index
383 $this->doc .= '<code>';
391 $this->doc .= '</code>';
616 $this->doc .= '<pre class="code">' . trim($this->_xmlEntities($text), "\n\r") . '</pre>' . DOKU_LF;
633 * Display text as code content, optionally syntax highlighted
640 public function code($text, $language = null, $filename = null, $options = null)
642 $this->_highlight('code', $text, $language, $filename, $options);
646 * Use GeSHi to highlight language syntax in code and file blocks
648 * @param string $type code|file
677 'code',
694 $class = 'code'; //we always need the code class to make the syntax highlighting apply
695 if ($type != 'code') $class .= ' ' . $type;
1836 * Returns HTML code for images used in link titles