| /dokuwiki/inc/parser/ |
| H A D | code.php | 21 * @param string $language 24 public function code($text, $language = null, $filename = '') argument 27 if (!$language) $language = 'txt'; 28 $language = preg_replace(PREG_PATTERN_VALID_LANGUAGE, '', $language); 29 if (!$filename) $filename = 'snippet.' . $language; 53 * @param string $language 56 public function file($text, $language = null, $filename = '') argument 58 $this->code($text, $language, $filename);
|
| H A D | xhtml.php | 639 * @param string $language programming language to use for syntax highlighting 643 public function file($text, $language = null, $filename = null, $options = null) argument 645 $this->_highlight('file', $text, $language, $filename, $options); 652 * @param string $language programming language to use for syntax highlighting 656 public function code($text, $language = null, $filename = null, $options = null) argument 658 $this->_highlight('code', $text, $language, $filename, $options); 666 * @param string $language programming language to use for syntax highlighting 671 public function _highlight($type, $text, $language = null, $filename = null, $options = null) argument 677 $language = preg_replace(PREG_PATTERN_VALID_LANGUAGE, '', $language ?? ''); 704 if (empty($language)) { // empty is faster than is_null and can prevent '' string [all …]
|
| H A D | metadata.php | 341 * @param string $language programming language to use for syntax highlighting 344 public function code($text, $language = null, $file = null) argument
|
| /dokuwiki/inc/Parsing/Helpers/ |
| H A D | Code.php | 38 $language = $parts[0] ?? null; 41 if ($language === 'html') $language = 'html4strict'; 42 if ($language === '-') $language = null; 44 return [$language, $filename, $options];
|
| /dokuwiki/vendor/geshi/geshi/ |
| H A D | CHANGELOG | 18 - Added language files 27 - Improvements to language files 44 - Added language files 59 - Improvements to language files 69 * Qt5 API for C++ language file (neochapay) 75 - Added language files 98 - Improvements to language files (BenBE) 107 * Updated LSL2 language file (BenBE, Sei Lisa) 110 * Updated PARI/GP language file (Charles R Greathouse IV, BenBE) 111 * Updated Cobol language file (Edward Hart, BenBE) [all …]
|
| H A D | README.md | 10 input the source code you wish to highlight with the language you 24 language files, but if you do find something major please contact me.
|
| H A D | THANKS | 11 - Andreas Gohr - Thanks for language files and for using GeSHi for DokuWiki 20 - Ben Keen - Thanks for the language files and pointing out some 24 extension => language lookup 43 - Sterling Christensen - Thanks for those links to language specs 44 - Tux - Thanks for making all those language files :D 286 Do you want your name in here? Help me out! Make a language file, or suggest a new
|
| H A D | BUGS | 14 for sourcecode under 5K (for simple language files like SQL, a 100K file can be
|
| /dokuwiki/inc/Extension/ |
| H A D | AdminPlugin.php | 19 * @param string $language language code 22 public function getMenuText($language) argument
|
| /dokuwiki/_test/tests/Parsing/Markdown/ |
| H A D | SpecCompatRenderer.php | 124 public function code($text, $language = null, $filename = null, $options = null) argument 126 $this->doc .= $this->specCode($text, $language); 226 public function file($text, $language = null, $filename = null, $options = null) argument 228 $this->doc .= $this->specCode($text, $language); 245 private function specCode($text, $language): string argument 248 if ($language !== null && $language !== '') { 249 $classAttr = ' class="language-' . hsc((string) $language) . '"';
|
| /dokuwiki/inc/Parsing/ParserMode/ |
| H A D | Code.php | 38 [$language, $filename, $options] = CodeHelper::parseAttributes($attr); 40 $param = [$content, $language, $filename];
|
| H A D | GfmCode.php | 115 [$language, $filename, $options] = CodeHelper::parseAttributes( 119 $param = [$body, $language, $filename];
|
| /dokuwiki/vendor/openpsa/universalfeedcreator/lib/Creator/ |
| H A D | JSONCreator.php | 26 $data['language'] = $this->language;
|
| H A D | AtomCreator10.php | 40 if ($this->language != "") { 41 $feed .= " xml:lang=\"".$this->language."\""; 145 if ($this->items[$i]->enclosure->language != "") { 146 $feed .= " xml:lang=\"".$this->items[$i]->enclosure->language."\" ";
|
| H A D | AtomCreator03.php | 40 if ($this->language != "") { 41 $feed .= " xml:lang=\"".$this->language."\"";
|
| H A D | RSSCreator091.php | 85 if ($this->language != "") { 86 $feed .= " <language>".$this->language."</language>\n";
|
| H A D | FeedCreator.php | 22 …public $syndicationURL, $image, $language, $copyright, $pubDate, $lastBuildDate, $editor, $editorE…
|
| /dokuwiki/inc/ |
| H A D | parserutils.php | 691 * @param string $language language to provide highlighting 698 function p_xhtml_cached_geshi($code, $language, $wrapper = 'pre', ?array $options = null) argument 701 $language = strtolower($language); 707 $cache = getCacheName($language . $code . $optionsmd5, ".code"); 716 $geshi = new GeSHi($code, $language); 737 return "<$wrapper class=\"code $language\">$highlighted_code</$wrapper>";
|
| /dokuwiki/vendor/geshi/geshi/src/ |
| H A D | geshi.php | 238 protected $language = ''; variable in GeSHi 550 * @param string $language The language to highlight the source with 560 public function __construct($source = '', $language = '', $path = '') { argument 564 if ( is_string($language) && ($language !== '') ) { 565 $this->set_language($language); 592 '{LANGUAGE}' => $this->language, 633 * @param string $language The name of the language to strip 636 public function strip_language_name($language) { argument 637 $language = preg_replace('#[^a-zA-Z0-9\-_]#', '', $language); 638 $language = strtolower($language); [all …]
|
| /dokuwiki/lib/styles/ |
| H A D | feed.css | 10 link, description, language, managingEditor, copyright, lastBuildDate, date, selector
|
| /dokuwiki/lib/plugins/popularity/ |
| H A D | admin.php | 31 public function getMenuText($language) argument
|
| /dokuwiki/_test/data/pages/wiki/ |
| H A D | syntax.txt | 3 [[doku>DokuWiki]] supports some simple markup language, which tries to make the datafiles to be as … 89 * Customization of the english language file 406 …language supported by GeSHi is supported. The syntax uses the same code and file blocks described … 420 The following language strings are currently recognized: //4cs 6502acme 6502kickass 6502tasm 68000d… 426 …able for download as well. You can do this by specifying a file name after language code like this: 438 …ighlighting but want a downloadable file, specify a dash (''-'') as the language code: ''%%<code -…
|
| /dokuwiki/data/pages/wiki/ |
| H A D | syntax.txt | 3 [[doku>DokuWiki]] supports some simple markup language, which tries to make the datafiles to be as … 91 * Customization of the english language file 414 …language supported by GeSHi is supported. The syntax uses the same code and file blocks described … 428 The following language strings are currently recognized: //4cs 6502acme 6502kickass 6502tasm 68000d… 434 …able for download as well. You can do this by specifying a file name after language code like this: 446 …ighlighting but want a downloadable file, specify a dash (''-'') as the language code: ''%%<code -…
|
| /dokuwiki/lib/plugins/usermanager/ |
| H A D | admin.php | 69 * @param string $language 72 public function getMenuText($language) argument 76 return parent::getMenuText($language);
|
| /dokuwiki/lib/plugins/acl/ |
| H A D | admin.php | 39 public function getMenuText($language) argument
|