开发者 | jlscwpplugins |
---|---|
更新时间 | 2015年4月28日 10:45 |
PHP版本: | 3.0.1 及以上 |
WordPress版本: | 3.4 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
RequerimentsMODE-->VALUE--------->DESCRIPTION\ image->W7------------>Windows 7\ image->XP------------>Windows XP\ image->Ubuntu-------->Ubuntu\ image->Netbeans------>Netbeans 7\ text-->TotalTerminal->Mac\ text-->Guake--------->Ubuntu o Gnome\ text-->Yaquake------->Ubuntu o GnomeExample: style = "TotalTerminal" 1. mode\ Indicates the visual format of the pic. The available values are: image and text. Example: mode = "text" 1. os\ Indicates the format of the paths according to the operating system. The available values are: Linux and Windows. 1. files\ It is a sequence of numbers separated by commas referring to the number of row in the list of paths and will be shown as the output file. Note that the row numbers start at 0 (zero). Example: files = "0,1,2" 1. highlights\ It is a sequence of numbers separated by commas referred to the row number list paths and Seru shown highlighted in the output. Note that the row numbers start at 0 (zero). Example: highlights = "2"
/wp-content/plugins/
.
See Also: "Installing Plugins" article on the WP Codex
Plugin Activation
Go to the admin area of your WordPress install and click on the "Plugins" menu.\
Click on "Activate" for the "Pathpic" plugin.
Plugin Usage
Just wrap your path(s) in [pathpic]
, such as\
[pathpic params] path(s) here [/pathpic]
Sample 1 (os="Linux")\
[pathpic style="Ubuntu" mode="image" os="Linux" files="2,6" highlights="2"] myProject/source/com myProject/source/wickedlysmart myProject/source/wickedlysmart/MyClass.java myProject/classes myProject/classes/com myProject/classes/wickedlysmart myProject/classes/wickedlysmart/MyClass.class [/pathpic]
Sample 2 (os="Windows")\
[pathpic style="TotalTerminal" mode="text" os="Windows" files="0,1,2" highlights="2"] trunk\wp-admin\user\admin.php trunk\wp-admin\user\index-extra.php trunk\wp-feed.php [/pathpic]
Review that the directory separator corresponds with the 'os' parameter, backslash for Windows and forwardslash\ for Linux.