|
@ -343,12 +343,12 @@ |
|
|
$config['markup'][] = Array("/(^|\n)==(.+?)==\n?/m", "<span class=\"heading\">\$2</span>"); |
|
|
$config['markup'][] = Array("/(^|\n)==(.+?)==\n?/m", "<span class=\"heading\">\$2</span>"); |
|
|
|
|
|
|
|
|
// Highlight PHP code wrapped in <code> tags (PHP 5.3.0+) |
|
|
// Highlight PHP code wrapped in <code> tags (PHP 5.3.0+) |
|
|
$config['markup'][] = Array( |
|
|
// $config['markup'][] = Array( |
|
|
'/^<code>(.+)<\/code>/s', |
|
|
// '/^<code>(.+)<\/code>/s', |
|
|
function($matches) { |
|
|
// function($matches) { |
|
|
return '<code>' . highlight_string(html_entity_decode($matches[1]), true) . '</code>'; |
|
|
// return '<code>' . highlight_string(html_entity_decode($matches[1]), true) . '</code>'; |
|
|
} |
|
|
// } |
|
|
); |
|
|
// ); |
|
|
|
|
|
|
|
|
/* |
|
|
/* |
|
|
* ==================== |
|
|
* ==================== |
|
|