Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add Open Graph and Twitter Card meta tags for improved social sharing #3689

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
hxrshxz wants to merge 3 commits into processing:develop
base: develop
Choose a base branch
Loading
from hxrshxz:open-image

Conversation

@hxrshxz
Copy link

@hxrshxz hxrshxz commented Oct 18, 2025

Fixes #3438

Changes

Added Open Graph and Twitter Card meta tags to enable social media preview cards

Verification

  • No linting errors (npm run lint)
  • No test errors (npm run test)
  • Up to date with develop branch
  • Descriptively named feature branch
  • Meets accessibility guidelines

Copilot AI review requested due to automatic review settings October 18, 2025 16:54
Copy link

welcome bot commented Oct 18, 2025

🎉 Thanks for opening this pull request! Please check out our contributing guidelines if you haven't already.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds Open Graph and Twitter Card meta tags to improve social media sharing previews for the p5.js Web Editor. When links are shared on platforms like Facebook, Twitter, or LinkedIn, these tags enable rich preview cards with titles, descriptions, and images.

  • Added Open Graph meta tags (og:title, og:description, og:image, og:url, og:type) to both the main index and project-specific pages
  • Added Twitter Card meta tags (twitter:card, twitter:title, twitter:description, twitter:image) to both page templates
  • Customized the og:title and twitter:title for project pages to include the project name and username

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

Copilot code review Copilot Copilot left review comments

At least 1 approving review is required to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

https://editor.p5js.org/ does not have an Open Graph image set up

1 participant

AltStyle によって変換されたページ (->オリジナル) /