for licensing details. // Copyright (c) 2011 Samuel G. D. Williams. if(!defined('DOKU_INC')) die(); if(!defined('DOKU_PLUGIN')) define('DOKU_PLUGIN',DOKU_INC.'lib/plugins/'); require_once dirname(__FILE__).'/code.php'; class syntax_plugin_jquerysyntax_file extends syntax_plugin_jquerysyntax_code { function getInfo() { return array( 'author' => 'Samuel Williams', 'email' => 'samuel.williams@oriontransfer.co.nz', 'date' => '2012-06-01', 'name' => 'jQuery.Syntax', 'desc' => "Extreme Client-side Syntax Highlighting. Replaces DokuWiki's handler.", 'url' => 'http://www.oriontransfer.co.nz/software/jquery-syntax', ); } function connectTo($mode) { $this->Lexer->addEntryPattern('.*?)',$mode,'plugin_jquerysyntax_file'); } function postConnect() { $this->Lexer->addExitPattern('', 'plugin_jquerysyntax_file'); } }