-
Notifications
You must be signed in to change notification settings - Fork 0
/
readme.txt
27 lines (20 loc) · 920 Bytes
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
=== Gutenberg Code Block Highlight Extension ===
Contributors: Heiko_Mamerow
Tags: gutenberg, code block, syntax highlighting
Requires at least: 6.2
Tested up to: 6.2
Requires PHP: 5.6
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Extends the origin Gutenberg Code Block with syntax highlighting.
== Description ==
This little WordPress plugin extens the origin Code Block from Gutenberg with syntax highlighting from Prism(https://prismjs.com/).
== How to use ==
1. Write your code in the origin code block as before.
2. If you want to activate syntax highlighting write the language class in the ADDITIONAL CSS CLASS(ES) field of the code block like this: language-xxxx
3. Replace the 'xxxx' part of the class string with your language.
For example if you have an PHP code snipped, then you write: language-php
== Changelog ==
= 1.0.0 =
* Initiating the plugin