ཞིབ་བརྗོད།
This plugin enable syntax highlighting of code snippets in your post using Google Code Prettify.
Features
- More styles.
- Colors can be customized.
- The js/css files can be pre-loaded or post-loaded.
- No js/css files are loaded if there is no code.
གཏུབ་རེིས།
སྒྲིག་འཇུག
- Upload the full directory into your wp-content/plugins directory
- Activate the plugin at the plugin administration page
- Open the plugin configuration page, which is located under “Settings -> WP Code Prettify” and customize settings.
FAQ
- What is it?
-
This plugin enable syntax highlighting of code snippets in your post using Google Code Prettify.
གདེང་འཇོག
2016 ལོའི་ཟླ 9 ཚེས 3 ཉིན།
works on wordpress 4.4.1. thank you for solving the bug.
བྱས་རྗེས་འཇོག་མཁན། & གསར་འབྱེད་པ།
“WP Code Prettify” is open source software. The following people have contributed to this plugin.
བྱས་རྗེས་འཇོག་མཁན།ཁྱེད་ཀྱི་སྐད་ཡིག་ནང་ལ་ “WP Code Prettify” ཡིག་སྒྱུར་བྱོས།
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
དག་བཅོས་ཉིན་ཐོ།
0.2.8
- Tested up to: 5.2
0.2.7
- fix security issues;
0.2.6
- fix “undefined index: head_custom”;
0.2.5
- custom HTML can be add into \<head>, so you can include some js files, such as lang-matlab.js;
- using plugins_url() instead of content_url();
- Tested up to: 4.4
0.2.4
- fix “Strict Standards” error ( Thanks bassjobsen https://wordpress.org/support/profile/bassjobsen);
- Tested up to: 4.0
0.2.3
- fix js conflict with other plugins (Thanks the_champ https://wordpress.org/support/profile/the_champ)
- Tested up to: 3.9.1
0.2.2
- Tested up to: 3.9.0
0.2.1
- Tested up to: 3.8.1
0.2.0
- fix links of js/css files via https
0.1.9
- update google code prettify to 4-Mar-2013 (fix css files)
0.1.8
- update google code prettify to 4-Mar-2013
0.1.7
- fix some warning.
- improve options page
0.1.6
- Tested up to: 3.4.2
0.1.5
- fix “You do not have sufficient permissions to access this page.”.
0.1.4
- fix “Notice: Undefined index: wpcp_update_options”.
- Tested up to: 3.4.1
0.1.3
- update version number.
0.1.2
- fix “You do not have sufficient permissions to access this page.”.
0.1.1
- update version number.
0.1.0
- first version.