Automattic / Automattic/syntaxhighlighter

Missing transformation from classic `[code]` shortcodes to blocks.

Open
#105 0 comments 2 reactions 0 assignees View on GitHub
[Type] Enhancement
Dominant language
CSS
Stars
251
Forks
81
PR merge metrics
No merged PRs in 30d

Description

It seems the transformation of shortcodes like `[code]` and similar is not defined for the plug-in. As described in:

https://wordpress.org/gutenberg/handbook/designers-developers/developers/block-api/block-registration/#transforms-optional

Shortcodes like `[code]` from a classic block are not correctly converted into a "SyntaxHighlight" block.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the plugin’s Gutenberg block registration and the Block API transforms documentation linked in the issue. Trace how classic shortcodes such as [code] are handled, then verify that they convert into the SyntaxHighlight block rather than remaining untransformed.

Written by the indexing model from the issue text.

Assessment

Tech stack
wordpress
Domain
content
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.