Snippets for Confluence

The Snippets add-on allows you to easily embed code snippets into Confluence pages and blogposts. Paste any snippet URL into the editor and the snippet will automatically be embedded using the Snippet macro. The following snippet providers are currently supported:

Screenshots

Snippet Macro

Use the Snippet macro to embed your code snippets into Confluence pages and blogposts.

Tipp: The Snippets add-on autoconverts snippet URLs in the Confluence editor. Paste any snippet URL into the editor and the snippet will automatically be embedded using the Snippet macro.

Parameters

ParameterDefaultDescription
Snippet URL
url
-The URL to the snippet you want to embed.
File
file
None - all files of the snippet will be embeddedSpecify the name of the file, if you want to embed a single file of the snippet. Leave blank to embed all files of the snippet.