=== Coder Block ===
Contributors: sh1zen 
Tags: code, functions, php, snippets, block
Donate link: https://www.paypal.com/donate?business=dev.sh1zen%40outlook.it&item_name=Thank+you+in+advanced+for+the+kind+donations.+You+will+sustain+me+developing+Coder+Block.&currency_code=EUR
Requires at least: 7.4
Tested up to: 6.9
Requires PHP: 7.0
Stable tag: 1.1.0
License: GPLv2 or later

The Coder Block plugin allows embedding php code inside of posts and pages within the new Block Editor.

== Description ==

Now is very easy to share code in your website with Gutenberg and the power of [Ace](https://ace.c9.io/), an embeddable code editor written in JavaScript with the features and performance of native editors such as Sublime, Vim and TextMate.

Each instance of Coder Block support:

* Different languages: html, php, css, javascript, python,...
* Syntax highlighting with more than 10 themes to choose.
* Other options to select the font size of the code and lines to show without scroll.
* **Code evaluation in your posts/pages.**

**Code evaluation**

With this feature each page will evaluate the code published within the coder block.
Up to now are supported PHP, Javascript and CSS only.

**DONATIONS**

This plugin is free and always will be, but if you are feeling generous and want to show your support, you can buy me a
beer or coffee [here](https://www.paypal.com/donate/?business=dev.sh1zen%40outlook.it&item_name=Thank+you+in+advanced+for+the+kind+donations.+You+will+sustain+me+developing+Coder+Block.&currency_code=EUR), I will really appreciate it.

== Installation ==

This section describes how to install the plugin. In general, there are 3 ways to install this plugin like any other
WordPress plugin.

**1. VIA WORDPRESS DASHBOARD**
  
* Click on ‘Add New’ in the plugins' dashboard
* Search for 'WP Optimizer'
* Click ‘Install Now’ button
* Activate the plugin from the same page or from the Plugins Dashboard

**2. VIA UPLOADING THE PLUGIN TO WORDPRESS DASHBOARD**
  
* Download the plugin to your computer
  from [https://wordpress.org/plugins/coder-block/](https://wordpress.org/plugins/coder-block/)
* Click on 'Add New' in the plugins dashboard
* Click on 'Upload Plugin' button
* Select the zip file of the plugin that you have downloaded to your computer before
* Click 'Install Now'
* Activate the plugin from the Plugins Dashboard

**3. VIA FTP**
  
* Download the plugin to your computer
  from [https://wordpress.org/plugins/coder-block/](https://wordpress.org/plugins/coder-block/)
* Unzip the zip file, which will extract the main directory
* Upload the main directory (included inside the extracted folder) to the /wp-content/plugins/ directory of your website
* Activate the plugin from the Plugins Dashboard

**FOR MULTISITE INSTALLATION**

* Log in to your primary site and go to "My Sites" » "Network Admin" » "Plugins"
* Install the plugin following one of the above ways
* Network activate the plugin

**INSTALLATION DONE, A NEW LABEL WILL BE DISPLAYED ON YOUR ADMIN MENU**


== Frequently Asked Questions ==

= What to do if I run in some issues after upgrade? =

Deactivate the plugin and reactivate it, if this doesn't work try to uninstall and reinstall it. That should
work! Otherwise, go to the new added module "Setting" and try a reset.

== Changelog ==

= 1.1.0 =

* Extended support to WordPress 6.9
* updated dependencies
* improved functionalities

= 1.0.10 =

* Extended support to WordPress 6.8
* updated dependencies

= 1.0.9 =

* Extended support to WordPress 6.7
* updated dependencies

= 1.0.6 =

* Extended support to WordPress 6.4
* updated dependencies


