gist()
Embeds a Github Gist
gist(string $url, string $file = null): string
Parameters
Name | Type | Default | Description |
---|---|---|---|
$url |
string |
– | |
$file |
string |
null |
Return type
string
Example
<?= gist('https://gist.github.com/bastianallgeier/b79615a9f7ca76c810b7') ?>