Info |
---|
If you're looking for the Snippets for Confluence documentation, it can be found here. |
The Snippets plugin provides a simple way to create and share code snippets in Bitbucket Server. The plugin allows you to create code snippets and optionally make them available to other users. You can also discover snippets created by other users and add them to your starred snippets collection.
...
Store your code snippets in Bitbucket Server
Share your code snippets with other users
Discover snippets created by other users
Star snippets to add them to your own starred snippets collection
Simply embed snippets on any website or in Confluence by using our free Snippets for Confluence add-on
...
It's even possible to embed a snippet on an external website, on Confluence pages and blogposts by using our free Snippets add-on for Confluence or on a page published in Bitbucket with our Pages add-on by simply using the embed code displayed in the right sidebar of the snippet. And if you only want to embed a single file of the snippet, just add the filename with the file parameter ?file={filename}
to the url used in the embed code. Permissions are always inherited from the snippet itself. If you want to embed a snippet on a public website, you need to make the snippet accessible for external users first. Otherwise only logged-in Bitbucket Server users will be able to view the embedded snippet.
...