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…
![](https://github.blog/wp-content/uploads/2017/08/26907141-1767ec32-4ba6-11e7-8460-8c61ddf041e9.jpg?resize=1200%2C630)
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
![](https://github.blog/wp-content/uploads/2023/10/Collaboration-DarkMode-2.png?resize=400%2C212)
2024 is the biggest global election year in history. What’s at stake for developers?
GitHub is considering what is at stake for our users and platform, how we can take responsible action to support free and fair elections, and how developers contribute to resilient democratic processes.
![](https://github.blog/wp-content/uploads/2023/10/AI-DarkMode-2.png?resize=400%2C212)
GitHub named a Leader in the Gartner first-ever Magic Quadrant for AI Code Assistants
This year, as part of its annual Magic Quadrant series, Gartner published a first-of-its-kind report analyzing the state of play in the AI Code Assistants market–and named GitHub a Leader.
![AI in software development 2024 survey results with colorful graphics and percentages.](https://github.blog/wp-content/uploads/2024/08/ai-survey-header.png?resize=400%2C212)
Survey: The AI wave continues to grow on software development teams
We surveyed 2,000 people on software development teams at enterprises in the U.S., Brazil, India, and Germany about the use, experience, and expectations around generative AI tools in software development.