Skip to content

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…

Introducing embedded code snippets
Author

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.

snippet-from-permalink-for-blog-v2

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.

create-issues-from-code

To learn more, check out the documentation for embedded code snippets and opening issues from code.

Explore more from GitHub

Product

Product

Updates on GitHub products and features, hot off the press.
GitHub Universe 2024

GitHub Universe 2024

Get tickets to the 10th anniversary of our global developer event on AI, DevEx, and security.
GitHub Copilot

GitHub Copilot

Don't fly solo. Try 30 days for free.
Work at GitHub!

Work at GitHub!

Check out our current job openings.