Html::gist()
Embeds a GitHub Gist
Parameters
Name | Type | Default | Description |
---|---|---|---|
$url * | string |
– | Gist URL |
$file | string |
null |
Optional specific file to embed |
$attr | array |
[ ] |
Additional attributes for the <script> tag |
Return type
string
Parent class
Kirby\Cms\Html
inherited from Kirby\Toolkit\Html