Introducing embedded code snippets
Your team can get more done when they have all of the information they need in one place. Now, you can see helpful references in issues you’re already working in…
Your team can get more done when they have all of the information they need in one place. Now, you can see helpful references in issues you’re already working in (or start a new issue) with embedded code snippets. Include the code snippets that will push your projects forward without making your team leave the conversation.
You’ll just need the permalink to specific lines you want to reference. Then, you can paste the code snippet into the place it will be most helpful.
Paste the snippet into a conversation
To add a code snippet: select the lines you want to reference, open the inline toolbar, click Copy permalink, and paste it anywhere.

Open a new issue
You can also use the toolbar to open a new issue when you select the code by clicking Open new issue.

To learn more, check out the documentation for embedded code snippets and opening issues from code.
Written by
Related posts
GitHub Availability Report: October 2025
In October, we experienced four incidents that resulted in degraded performance across GitHub services.
TypeScript, Python, and the AI feedback loop changing software development
An interview with the leader of GitHub Next, Idan Gazit, on TypeScript, Python, and what comes next.
What 986 million code pushes say about the developer workflow in 2025
Nearly a billion commits later, the way we ship code has changed for good. Here’s what the 2025 Octoverse data says about how devs really work now.