Allow picking a specific file out of a gist

This commit is contained in:
Konstantin Kliakhandler authored and Bjørn Erik Pedersen committed 2016-03-11 18:29:07 +01:00
1 parent 75ccf1cf52
commit 6a1bd7dc22
1 file changed
+4
+4
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.: