gist()
Embeds a Github Gist
gist(string $url, string|null $file = null): string
Parameters
Name | Type | Default |
---|---|---|
$urlrequired | string |
no default value |
$file | string ornull |
null
|
Return type
string
Examples
<?= gist('https://gist.github.com/bastianallgeier/b79615a9f7ca76c810b7') ?>