We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 240f911 + 1d3ef05 commit 75d56ccCopy full SHA for 75d56cc
1 file changed
plugin/instagram.rb
@@ -0,0 +1,10 @@
1
+# instagram.rb - embed your photo/videos in instagram to a diary
2
+#
3
+# Author: Tatsuya Sato
4
+# License: GPL
5
+
6
+def instagram(code, width=612, height=700)
7
+ <<-BODY
8
+<iframe src="//instagram.com/p/#{code}/embed/" width="#{width}" height="#{height}" frameborder="0" scrolling="no" allowtransparency="true"></iframe>
9
+ BODY
10
+end
0 commit comments