Automattic / Automattic/syntaxhighlighter

Add ability to add caption to a code block

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

Description

Feature request from https://wordpress.org/support/topic/feature-request-ability-to-add-a-caption/

Add the ability to label/caption individual code blocks on the page, similar to image caption in Image & Gallery blocks.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the plugin's code block and Gutenberg block implementation, then trace how individual blocks are rendered and configured. Define how a caption is entered and displayed in relation to the existing Image and Gallery block behavior; done means each code block can have an optional visible caption without disrupting syntax highlighting.

Written by the indexing model from the issue text.

Assessment

Tech stack
wordpress
Domain
content
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.