Allow picking a specific file out of a gist

This commit is contained in:
Konstantin Kliakhandler
2016-03-11 08:02:57 -06:00
committed by Bjørn Erik Pedersen
parent 7cd69aaae8
commit e9008b91fa
2 changed files with 5 additions and 1 deletions

View File

@@ -211,6 +211,10 @@ pass the owner and the ID of the gist to the shortcode:
{{</* gist spf13 7896402 */>}}
If the gist contains several files and you want to quote just one of them, you can pass the filename (quoted) as an optional third argument:
{{</* gist spf13 7896402 "img.html" */>}}
### Speaker Deck
To embed slides from [Speaker Deck](https://speakerdeck.com/), click on "&lt;&#8239;/&gt;&nbsp;Embed" (under Share right next to the template on Speaker Deck) and copy the URL, e.g.: