Title: CC-Syntax-Highlight
Author: Clearcode
Published: <strong>29 Σεπτεμβρίου  2016</strong>
Last modified: 16 Μαρτίου  2022

---

Αναζήτηση πρόσθετων

![](https://ps.w.org/cc-syntax-highlight/assets/banner-772x250.png?rev=1505027)

Αυτό το πρόσθετο **δεν έχει δοκιμασθεί με τις 3 τελευταίες κύριες εκδόσεις του WordPress**.
Μπορεί να μην αναπτύσσεται ή να υποστηρίζεται άλλο και να έχει προβλήματα συμβατότητας
με τις πιο πρόσφατες εκδόσεις του WordPress.

![](https://ps.w.org/cc-syntax-highlight/assets/icon-256x256.png?rev=1505027)

# CC-Syntax-Highlight

 Από [Clearcode](https://profiles.wordpress.org/clearcodehq/)

[Λήψη](https://downloads.wordpress.org/plugin/cc-syntax-highlight.zip)

 * [Λεπτομέρειες](https://el.wordpress.org/plugins/cc-syntax-highlight/#description)
 * [Κριτικές](https://el.wordpress.org/plugins/cc-syntax-highlight/#reviews)
 *  [Εγκατάσταση](https://el.wordpress.org/plugins/cc-syntax-highlight/#installation)
 * [Ανάπτυξη](https://el.wordpress.org/plugins/cc-syntax-highlight/#developers)

 [Υποστήριξη](https://wordpress.org/support/plugin/cc-syntax-highlight/)

## Περιγραφή

The CC-Syntax-Highlight plugin supports syntax highlighting of Posts, Pages, and
any public Custom Post Types.
 It uses [highlight.js](https://highlightjs.org/) 
or [google-code-prettify](https://github.com/google/code-prettify) libraries. Additionally
it can use the [clipboard.js](https://clipboardjs.com/) library to add a button 
that copies text to the clipboard and [highlightjs-line-numbers.js](https://github.com/wcoder/highlightjs-line-numbers.js/)
plugin to add line numbers. It is delivered with support for shortcode (default

    ```notranslate
     - you can change it on the settings page) which automatically converts all special characters to HTML entities.
    This plugin is compatible with Multisite WordPress installations.</p>

    <h4>How does it work?</h4>

    <ol>
    <li>Go to the 'Settings &gt; Syntax Highlight' page, select your preferred options and save them.</li>
    <li>Simply add the source code to your post (or other selected public Custom Post Type) wrapped with:
    &lt;pre&gt;&lt;code&gt;Your source code&lt;/code&gt;&lt;/pre&gt;
    or if you would like to automatically convert all special characters to HTML entities, use shortcode wrapper instead (default [code] - you can change it on the settings page):
    &lt;pre&gt;[code]Your source code
    ```

</pre>

_Plugin’s js scripts and css styles files only load if the source code occurs on
displaying page._

## Στιγμιότυπα

[⌊CC-Syntax-Highlight Settings - Visit the 'Settings > Syntax Highlight' page, select
your preferred options and save them.⌉⌊CC-Syntax-Highlight Settings - Visit the '
Settings > Syntax Highlight' page, select your preferred options and save them.⌉[

**CC-Syntax-Highlight Settings** – Visit the ‘Settings > Syntax Highlight’ page,
select your preferred options and save them.

## Εγκατάσταση

#### From your WordPress Dashboard

 1. Go to ‘Plugins > Add New’
 2. Search for ‘CC-Syntax-Highlight’
 3. Activate the plugin from the Plugin section on your WordPress Dashboard.

#### From WordPress.org

 1. Download ‘CC-Syntax-Highlight’.
 2. Upload the ‘cc-syntax-highlight’ directory to your ‘/wp-content/plugins/’ directory
    using your favorite method (ftp, sftp, scp, etc…)
 3. Activate the plugin from the Plugin section in your WordPress Dashboard.

#### Once Activated

 1. Visit the ‘Settings > Syntax Highlight’ page, select your preferred options and
    save them.

#### Multisite

The plugin can be activated and used for just about any use case.

 * Activate at the site level to load the plugin on that site only.
 * Activate at the network level for full integration with all sites in your network(
   this is the most common type of multisite installation).

## Κριτικές

![](https://secure.gravatar.com/avatar/53ab95580196d9e76a69d95588d59f2105e2a48ab7982e75b07dc804682e0103?
s=60&d=retro&r=g)

### 󠀁[Finally, some that understands custom post types](https://wordpress.org/support/topic/finally-some-that-understands-custom-post-types/)󠁿

 [Brian Jackson](https://profiles.wordpress.org/brianleejackson/) 28 Μαρτίου 2017

I was surprised how hard it was to find a plugin with a nice theme (Github) which
also has a custom post type selection and is super lightweight (not loading 4+ files
like some do). It also is responsive, making this plugin pretty much perfect. Just
hope the dev keeps it up to date.

 [ Ανάγνωση όλων των 2 κριτικών ](https://wordpress.org/support/plugin/cc-syntax-highlight/reviews/)

## Συνεισφέροντες & Προγραμματιστές

“CC-Syntax-Highlight” είναι λογισμικό ανοιχτού κώδικα. Οι παρακάτω έχουν συνεισφέρει
στη δημιουργία του.

Συντελεστές

 *   [ Clearcode ](https://profiles.wordpress.org/clearcodehq/)
 *   [ PiotrPress ](https://profiles.wordpress.org/piotrpress/)

[Μεταφράστε το “CC-Syntax-Highlight” στην γλώσσα σας.](https://translate.wordpress.org/projects/wp-plugins/cc-syntax-highlight)

### Ενδιαφέρεστε για την ανάπτυξη;

[Περιηγηθείτε στον κώδικα](https://plugins.trac.wordpress.org/browser/cc-syntax-highlight/),
ανατρέξτε στο [αποθετήριο SVN](https://plugins.svn.wordpress.org/cc-syntax-highlight/)
ή εγγραφείτε στο [αρχείο καταγραφής αλλαγών ανάπτυξης](https://plugins.trac.wordpress.org/log/cc-syntax-highlight/)
μέσω [RSS](https://plugins.trac.wordpress.org/log/cc-syntax-highlight/?limit=100&mode=stop_on_copy&format=rss).

## Σύνοψη αλλαγών

#### 1.2.3

_Release date: 16.03.2022_

 * Added PHP 8.0 support.

#### 1.2.2

_Release date: 22.10.2019_

 * Fixed conflict with core clipboard wp script.

#### 1.2.1

_Release date: 15.10.2019_

 * Added highlightjs-line-numbers.js plugin in 2.7.0 version.
 * Updated highlight.js script to 9.15.10 version.

#### 1.2.0

_Release date: 15.06.2018_

 * Fixed issue with wrong brackets interpretation.

#### 1.1.0

_Release date: 05.12.2016_

 * Added support for “copy-to-clipboard” feature by using the clipboard.js library.

#### 1.0.1

_Release date: 01.10.2016_

 * Corrected readme.txt file.

#### 1.0.0

_Release date: 27.09.2016_

 * First stable version of the plugin.

## Μεταστοιχεία

 *  Version **1.2.3**
 *  Τελευταία ενημέρωση: **πριν από 4 έτη**
 *  Ενεργές εγκαταστάσεις: **60+**
 *  Έκδοση WordPress: ** 4.6.1 ή νεότερη **
 *  Δοκιμασμένο μέχρι: **5.9.16**
 *  Έκδοση PHP: ** 7.0 ή νεότερη **
 *  Language
 * [English (US)](https://wordpress.org/plugins/cc-syntax-highlight/)
 * Ετικέτες:
 * [code](https://el.wordpress.org/plugins/tags/code/)[google-code-prettify](https://el.wordpress.org/plugins/tags/google-code-prettify/)
   [highlight.js](https://el.wordpress.org/plugins/tags/highlight-js/)[source code](https://el.wordpress.org/plugins/tags/source-code/)
   [syntax highlight](https://el.wordpress.org/plugins/tags/syntax-highlight/)
 *  [Σύνθετη Προβολή](https://el.wordpress.org/plugins/cc-syntax-highlight/advanced/)

## Αξιολογήσεις

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/cc-syntax-highlight/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/cc-syntax-highlight/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/cc-syntax-highlight/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/cc-syntax-highlight/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/cc-syntax-highlight/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/cc-syntax-highlight/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/cc-syntax-highlight/reviews/)

## Συντελεστές

 *   [ Clearcode ](https://profiles.wordpress.org/clearcodehq/)
 *   [ PiotrPress ](https://profiles.wordpress.org/piotrpress/)

## Υποστήριξη

Έχετε κάτι να πείτε; Χρειάζεστε βοήθεια;

 [Φόρουμ υποστήριξης](https://wordpress.org/support/plugin/cc-syntax-highlight/)