Horje
Powerful, XHTML-compliant, server-side code highlighting for pretty much all languages Wordpress Tutorial

Noted That:

  • To install correctly this highlight-source-pro.zip .
  • Fisrt Download the highlight-source-pro.zip to your computer
  • Extract/Open highlight-source-pro.zip to Your Computer.
  • Then, Find readme.txt file inside highlight-source-pro.zip and Open readme.txt .
  • Now, Read the Requirements of this plugin. Which Wordpress Version and PHP Version are required to run this Plugin in Your Wordpress Site.
  • Then, Follow the Tips Below.

Start the Tips:

1. First Download " highlight-source-pro.zip " Plugin to your Local Computer. (Click Download)

2. Then, Login to your " yourdomain.com/wp-admin " Dashboard.

/stack/wp/e1593231376d7d849d2-4597-4fa3-a6ff-1eca18f72aab.png

3. Then, Click on " Plugins " + " Add New " from left sidemenu of Dashboard.

/stack/wp/e1593231378Screenshot20.png

4. Now, Click on "Upload Plugin" button.

/stack/wp/e1593231380Screenshot-2019-4-2AddPluginsHorjeWordPress.png

 

5. Now, Browse " highlight-source-pro.zip "  Downloaded plugin from your computer, Where you downloaded highlight-source-pro.zip According to Step – 1 Above then, click on " Install Now"

/stack/wp/e15931461531577025694plugin.png

6. Now, Click on " Active Plugin"

/stack/wp/e15932313830ca45529-bf73-4101-8178-53ae60ce549f.png

7. Then, See left sidemenu. " Highlight Source Pro " folder is added on left sidemenu. Now, Click on " Highlight Source Pro " folder.

   Noted that: If you do not see " Highlight Source Pro " folder on left sidemenu then, see at left sidemenu " Settings " or " Tools ".

8. Now you configure yourself oR Watch video tutorial below about  Highlight Source Pro Configurtions and Settings or How to work " Highlight Source Pro " in your WordPress site.

 

oR

After Activated Plugin According to Step-6 then,

  1. Go to " Plugins " + " Installed Plugin " from Wordpress Admin Panel Leftside Menu.
  2. or Direct go to: https://yourdomain/wp-admin/plugins.php
  3. Then, Find " Highlight Source Pro " Activated Plugin from Plugin List.
  4. Then, Click on " Settings " from Plugin that is Highlight Source Pro
  5. Now, Edit/Add/Config the setting and Click on " Save Changes " button,
WP Plugin Setting



Guide

The plugin is simple to install:

  1. Upload the highlight_source_pro folder to your /wp-content/plugins directory
  2. Enable via Admin-Interface

How to Use

Set your code-blocks as


-tags. If the language is supported by GeSHi (see file list in the 
/geshi-directory
) use the filename (without extension) as language-attribute. If your code is encoded (html-entities; e.g. 
<
 is displayed as 
<
 – most likely the case if you write in the visual editor) add the 
enc__
-prefix. For example for a php-codeblock you would start as follows:



You can control various things:
* Start of Line-Offset, e.g. for #17:



* define entity-encoded blocks, e.g. for php:


* Define a title for your code-block that appears inside the block, but above the code lines. Everything in the same line as the opening

 tag will be considered the title, including HTML works fine:


 

This is
 an 
example
 with a 

headline

* disable line numbers by not specifying an offset
* combine all those things as long as you stick to the right order:


powerful , xhtml , compliant , server , side , code , highlighting , pretty , much , languages ,

Name

Read Article
https://develop.horje.com/learn/1434/reference