Skip to content

Kirby 4.1.2

(gist: …)

Embeds a GitHub Gist by URL

Attributes

In addition to the main gist, option, the tag supports the following attributes: file

Attribute Description Default
file Load a specific file as default null

Attribute defaults from config

You can customize the defaults of this tag's attributes via the kirbytext.gist config option.

Examples

Gist by URL

(gist: https://gist.github.com/2556891)

Only load a specific file of the Gist by URL

(gist: https://gist.github.com/2556891 file: targetblank.js)