From 6a1bd7dc2241ba6acc6a69b29aefa4643f9043f4 Mon Sep 17 00:00:00 2001 From: Konstantin Kliakhandler Date: Fri, 11 Mar 2016 08:02:57 -0600 Subject: [PATCH] Allow picking a specific file out of a gist --- content/extras/shortcodes.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/content/extras/shortcodes.md b/content/extras/shortcodes.md index 34c6f3486..68dbb6681 100644 --- a/content/extras/shortcodes.md +++ b/content/extras/shortcodes.md @@ -211,6 +211,10 @@ pass the owner and the ID of the gist to the shortcode: {{}} +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: + + {{}} + ### Speaker Deck To embed slides from [Speaker Deck](https://speakerdeck.com/), click on "< /> Embed" (under Share right next to the template on Speaker Deck) and copy the URL, e.g.: