Banner for Code Syntax Block
Code Syntax Block plugin extends the Gutenberg Block Editor by adding syntax highlighting to the core code block. Wordpress Tutorial
Noted That:
  • To install correctly this code-syntax-block.zip .
  • Fisrt Download the code-syntax-block.zip to your computer
  • Extract/Open code-syntax-block.zip to Your Computer.
  • Then, Find readme.txt file inside code-syntax-block.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:

Step-1 : Download " code-syntax-block.zip " to Your Local Computer.

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

Login to Wordpress Code Syntax Block

Step-3 : Then, Click on " Plugins " + " Add New " from left Side Menu of Dashboard.

Go to Plugin Install Code Syntax Block

Step-4 : Now, Click on " Upload Plugin " button.

Click Upload Button Code Syntax Block

Step-5 : Now, Browse " code-syntax-block.zip " Downloaded plugin from your computer, Where you downloaded " code-syntax-block.zip " According to Step – 1 Above then, click on " Install Now "

Upload Plugin Code Syntax Block

Step-6 : Now, Click on " Active Plugin "

Activate Code Syntax Block

Step-7 : Then, See left Side Menu. " Code Syntax Block " folder is added on left Side Menu. Now, Click on " Code Syntax Block " folder.

Noted that: If you do not see " Code Syntax Block " folder on left Side Menu then, see at left Side Menu " Settings " or " Tools ".

Step-8 : Now you configure yourself oR Watch video tutorial below about Code Syntax Block Configurations and Settings or How to work " Code Syntax Block " 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 " Code Syntax Block " Activated Plugin from Plugin List.
  4. Then, Click on " Settings " from Plugin that is Code Syntax Block
  5. Now, Edit/Add/Config the setting and Click on " Save Changes " button,
WP Plugin Setting



Guide

After installing and activating the plugin, use in the Block Editor by creating a standard code block and selecting a language format.

When creating a new code block, select Code block, and then in the Inspector (Block Controls on the Right) select the language for the code. The code will not change within the editor, but you’ll see a small label with the selected language.

On the front-end when the post is being viewed, the code will be color syntax highlighted.


Name