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

Embeds a github gist

  • $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 (string)