Skip to content

Commit

Permalink
updated EnlighterJS v2.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
AndiDittrich committed May 19, 2018
1 parent 036b074 commit 1d5ddff
Show file tree
Hide file tree
Showing 10 changed files with 328 additions and 266 deletions.
4 changes: 3 additions & 1 deletion CHANGES.md
@@ -1,8 +1,10 @@
## Changelog ##

### 3.6-BETA 3 ###
### 3.6 ###
* Added: Dynamics-Resource-Invocation (exprimental option) - Enlighter javascript dependencies are only loaded in case they are needed - features [requested on GitHub](https://github.com/AndiDittrich/WordPress.Enlighter/issues/80)
* Added: Compatibility Mode to convert legacy codeblocks (e.g. Jetpack Markdown) to Enlighter recognizable code
* Added: [EnlighterJS v2.12.0](http://enlighterjs.org/)
* Added: language domain path to plugin entry file (used by the WordPress plugin registry)
* Bugfix: **About-Page** redirect on plugin upgrade/activation may be cached by browsers - added nocache header; changed status code to `http-307`
* Changed: splitted the settings page (editing section) into visual-editor and text-editor

Expand Down
5 changes: 3 additions & 2 deletions Enlighter.php
Expand Up @@ -2,8 +2,9 @@
/**
Plugin Name: Enlighter - Customizable Syntax Highlighter
Plugin URI: https://enlighterjs.org
Domain Path: /lang
Description: Enlighter is a free, easy-to-use, syntax highlighting tool with a build-in theme editor.
Version: 3.6-BETA3
Version: 3.6-BETA4
Author: Andi Dittrich
Author URI: https://andidittrich.de
License: MIT X11-License
Expand All @@ -22,7 +23,7 @@
*/

define('ENLIGHTER_INIT', true);
define('ENLIGHTER_VERSION', '3.6-BETA3');
define('ENLIGHTER_VERSION', '3.6-BETA4');
define('ENLIGHTER_PLUGIN_PATH', dirname(__FILE__));
define('ENLIGHTER_PLUGIN_URL', plugins_url('/enlighter/'));

Expand Down
3 changes: 2 additions & 1 deletion class/GoogleWebfontResources.php
Expand Up @@ -7,9 +7,10 @@ public static function getMonospaceFonts(){
'Anonymous Pro' => 'Anonymous+Pro:regular,italic,700,700italic',
'Cousine' => 'Cousine:regular,italic,700,700italic',
'Cutive Mono' => 'Cutive+Mono:regular',
'Droid Sans Mono' => 'Droid+Sans+Mono:regular',
'Fira Mono' => 'Fira+Mono:regular,700',
'IBM Plex Mono' => 'IBM+Plex+Mono:regular,italic,700,700italic',
'Inconsolata' => 'Inconsolata:regular,700',
'Nanum Gothic Coding' => 'Nanum+Gothic+Coding:regular,700',
'Nova Mono' => 'Nova+Mono:regular',
'Overpass Mono' => 'Overpass+Mono:regular,700',
'Oxygen Mono' => 'Oxygen+Mono:regular',
Expand Down

0 comments on commit 1d5ddff

Please sign in to comment.