|
| CodeColorer is a syntax highlighting plugin which allows inserting code snippets into blog posts. The plugin supports color themes, code samples in RS … Wordpress Tutorial |
|
Noted That:
|
|
Start the Tips:
Step-1 : Download " codecolorer.zip " to Your Local Computer. Step-2 : Then, Login to your " yourdomain.com/wp-admin " Dashboard.
Step-3 : Then, Click on " Plugins " + " Add New " from left Side Menu of Dashboard.
Step-4 : Now, Click on " Upload Plugin " button.
Step-5 : Now, Browse " codecolorer.zip " Downloaded plugin from your computer, Where you downloaded " codecolorer.zip " According to Step – 1 Above then, click on " Install Now "
Step-6 : Now, Click on " Active Plugin "
Step-7 : Then, See left Side Menu. " Codecolorer " folder is added on left Side Menu. Now, Click on " Codecolorer " folder. Noted that: If you do not see " Codecolorer " folder on left Side Menu then, see at left Side Menu " Settings " or " Tools ". Step-8 : Now you configure yourself oR Watch video tutorial below about Codecolorer Configurations and Settings or How to work " Codecolorer " in your WordPress site. oRAfter Activated Plugin According to Step-6 then,
|
| Guide |
|---|
Syntax
To insert a code snippet into your post (or comment) you would use
Note: You should always use double quotes or single quotes around the parameter value. Boolean values could be passed using string true or false , on or off , number 1 or 0 . Short codes
Starting from CodeColorer 0.8.6 you can use short codes to insert code snippets. The short code in common looks like
Small letter means enabled , capital – disabled . Examples: PHP code with links enabled and line numbers disabled:
Already escaped HTML code:
Ruby code without wrapping having tab size equal to 4:
More examples could be found on the CodeColorer Examples page. You can find modes explained below. Possible parameters
You can use special tag
Most of these parameters could be configured via the CodeColorer options page. To insert example of CodeColorer short codes you can use something like this:
|
| Name |
|---|