Skip to content

Add filename titles to code blocks#1721

Closed
NehaPawar65 wants to merge 1 commit intoCodeYourFuture:mainfrom
NehaPawar65:fix-issue-175
Closed

Add filename titles to code blocks#1721
NehaPawar65 wants to merge 1 commit intoCodeYourFuture:mainfrom
NehaPawar65:fix-issue-175

Conversation

@NehaPawar65
Copy link
Copy Markdown

This PR adds filename titles to a few code blocks using the title attribute to make examples clearer for learners.
It follows the suggestion from issue #175 to annotate code snippets with meaningful file names.
Please let me know if any changes are needed.
Thanks!

Fixes #175

@netlify
Copy link
Copy Markdown

netlify Bot commented Jan 28, 2026

👷 Deploy request for cyf-curriculum pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit f1933f7

@netlify
Copy link
Copy Markdown

netlify Bot commented Jan 28, 2026

👷 Deploy request for cyf-piscine pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit f1933f7

@netlify
Copy link
Copy Markdown

netlify Bot commented Jan 28, 2026

👷 Deploy request for cyf-common pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit f1933f7

@netlify
Copy link
Copy Markdown

netlify Bot commented Jan 28, 2026

👷 Deploy request for cyf-tracks pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit f1933f7

@netlify
Copy link
Copy Markdown

netlify Bot commented Jan 28, 2026

👷 Deploy request for cyf-itd pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit f1933f7

@netlify
Copy link
Copy Markdown

netlify Bot commented Jan 28, 2026

👷 Deploy request for cyf-launch pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit f1933f7

@netlify
Copy link
Copy Markdown

netlify Bot commented Jan 28, 2026

👷 Deploy request for cyf-sdc pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit f1933f7

@illicitonion
Copy link
Copy Markdown
Member

Thanks for taking a look at this! Unfortunately, I don't think the codeblock rendering shortcode actually supports this right now, so we need to build some template support to show this - we can't just add title= to the existing codeblocks.

Also unfortunately, the file you picked up editing actually isn't included in the curriculum anywhere at the moment! But I've just written up some mentoring instructions in #175 (comment)

If you're interested, try getting our curriculum running locally (I recommend running org-cyf-itp using these instructions and try following the mentoring attached to the issue :)

I'm going to close this PR for now, because it doesn't quite do the right thing it needs to, but feel free to either re-open it, or open a new one, if you make progress! :)

@github-project-automation github-project-automation Bot moved this from 📋 Backlog to ✅ Done in Curriculum Planning Feb 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

Label code blocks with filename

2 participants