|
|
| Syntax Highlighter for WordPress using Highlight.js. Wordpress Tutorial |
|
Noted That:
|
|
Start the Tips:
Step-1 : Download " wp-syntax-highlighter.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 " wp-syntax-highlighter.zip " Downloaded plugin from your computer, Where you downloaded " wp-syntax-highlighter.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. " Wp Syntax Highlighter " folder is added on left Side Menu. Now, Click on " Wp Syntax Highlighter " folder. Noted that: If you do not see " Wp Syntax Highlighter " 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 Wp Syntax Highlighter Configurations and Settings or How to work " Wp Syntax Highlighter " in your WordPress site. oRAfter Activated Plugin According to Step-6 then,
|
| Guide |
|---|
Customization
The plugin comes bundled with all the themes provided by Highlight.js.
Additionally the plugin checks for a
If this CSS file is present it will be added to the page automatically.
To use a completely custom theme use the
Custom
option in Theme Shortcodes
Each language gets it’s own shortcode. You can use this to add code For instance to add some PHP code into your post use,
Supported LanguagesThe following languages are currently supported by highlight.js.
Note: Since WordPress shortcodes must be at least 2 characters long, for Eg:- [dlang][/dlang] Compatibility with other Syntax Highlighters
The plugin is completely compatible with other syntax highlighters.
Both
Syntax Highlighter
and
GeSHi
|
| Name |
|---|