|
|
| Syntax Highlighter for WordPress using Highlight.js. Wordpress Tutorial |
Noted That:
|
Start the Tips:1. First Download " wp-syntax-highlighter.zip " Plugin to your Local Computer. (Click Download) 2. Then, Login to your " yourdomain.com/wp-admin " Dashboard. 3. Then, Click on " Plugins " + " Add New " from left sidemenu of Dashboard. 4. Now, Click on "Upload Plugin" button.
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" 6. Now, Click on " Active Plugin" 7. Then, See left sidemenu. " wp-syntax-highlighter " folder is added on left sidemenu. Now, Click on " wp-syntax-highlighter " folder. Noted that: If you do not see " wp-syntax-highlighter " folder on left sidemenu then, see at left sidemenu " Settings " or " Tools ". 8. Now you configure yourself oR Watch video tutorial below about wp-syntax-highlighter Configurtions and Settings or How to work " wp-syntax-highlighter " in your WordPress site. oR After 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
|
| syntax , highlighter , using , highlightjs , tutorial , |
| Name |
|---|
Read Article https://develop.horje.com/learn/1434/reference