embed::gist

Embeds a github gist

embed::gist($url, $file = null)

Parameters

$url (string)
Gist url: i.e. https://gist.github.com/2924148
$file (string)
The name of a particular file from the gist, which should displayed only.

Return values

string