# (gist: …)

Embeds a GitHub Gist by URL

****

- Source: <https://github.com/getkirby/kirby/tree/5.5.3/config/tags.php#L89>

****

## 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 <a href="https://getkirby.com/docs/reference/system/options/kirbytext#gist">`kirbytext.gist` config option</a>.

## Examples

### Gist by URL

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

### Only load a specific file of the Gist by URL

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