2007. 7. 10. 15:12
WordPress Code Highlight Plugin
2007. 7. 10. 15:12 in 카테고리 없음
PHP:
<!--p<br--> /* Plugin Name: CodeHighlight Plugin URI: <a href="http://www.chroder.com/archives/2005/04/16/wordpress-codehighlight-plugin/">http://www.chroder.com/archives/2005/04/16/wordpress-codehighlight-plugin/</a> Description: Adds syntax highlighting to your code, or simply allows you to post workable code not affected by the WordPress text replacement features. Version: 1.0 Beta 3.1.1 Author: Chroder Author URI: <a href="http://www.chroder.com/">http://www.chroder.com/</a> */ //=========================================================== // Get the PEAR path, and include the highlighter //=========================================================== $pear_dir = ABSPATH . 'wp-content/plugins/CodeHighlight/PEAR'; require_once 'Text/Highlighter.php'; ?>