Project

General

Profile

Feature #16098

Add Code Syntax Block plugin

Added by Raffi Khatchadourian about 2 months ago. Updated 5 days ago.

Status:
Resolved
Priority name:
Normal
Assignee:
Category name:
Plugin Packages
Target version:
Start date:
2022-05-12
Due date:
% Done:

0%

Estimated time:

Description

Can you enable this plugin? https://wordpress.org/plugins/code-syntax-block? It looks a bit more modern than some of the other syntax highlighters currently installed. Thanks.

History

#1 Updated by Raymond Hoh about 2 months ago

It looks like we only have one other syntax highlighter plugin on the Commons, which is this one: https://wordpress.org/plugins/syntaxhighlighter/

The Code Syntax Block plugin looks good to me.

Boone and Scott, any objections?

#2 Updated by Boone Gorges about 2 months ago

  • Target version set to 1.19.10

Yeah, looks good to me.

#3 Updated by Raymond Hoh about 2 months ago

  • Status changed from New to Staged for Production Release

Added in https://github.com/cuny-academic-commons/cac/commit/1e53f1c8647d8a142ace3ef9e3124881cc24489a.

This will be available after the next maintenance release on May 24th.

#4 Updated by Raffi Khatchadourian about 2 months ago

Raymond Hoh wrote:

Added in https://github.com/cuny-academic-commons/cac/commit/1e53f1c8647d8a142ace3ef9e3124881cc24489a.

This will be available after the next maintenance release on May 24th.

Thanks, all!

#5 Updated by Boone Gorges about 1 month ago

  • Status changed from Staged for Production Release to Resolved

#6 Updated by Raffi Khatchadourian 7 days ago

Raymond Hoh wrote:

It looks like we only have one other syntax highlighter plugin on the Commons, which is this one: https://wordpress.org/plugins/syntaxhighlighter/

The Code Syntax Block plugin looks good to me.

Boone and Scott, any objections?

Thanks for installing this plug-in. Actually, I recommend that it be uninstalled :). It turns out that https://wordpress.org/plugins/syntaxhighlighter (above) also supports blocks and that the new plug-in interferes with this plug-in (the editor is white and hard to read when it is enabled). Lastly, I think that https://wordpress.org/plugins/syntaxhighlighter is a better plug-in.

#7 Updated by Raymond Hoh 5 days ago

Thanks for the feedback, Raffi.

Fortunately, no sites have activated the code-syntax-block plugin so I've removed it.

Reference: https://github.com/cuny-academic-commons/cac/commit/ee57c012c1f24a2a7c95ed502cfd8d83d5996b57

Also available in: Atom PDF