Sha256: c03f008a46a718029e5ac5921af94ab953be2d093cbba26489f455b422785b83

Contents?: true

Size: 320 Bytes

Versions: 22

Compression:

Stored size: 320 Bytes

Contents

#
# twitpic.rb: plugin to insert images on twitpic.com.
#
# Copyright (C) 2010 TADA Tadashi <t@tdtds.jp>
# You can redistribute it and/or modify it under GPL2.
#

def twitpic(image_id, label = 'Image on Twitpic', place = 'photo')
	%Q|<p><a class="twitpic" href="http://twitpic.com/#{h image_id}">#{h label}</a></p>|
end

Version data entries

22 entries across 21 versions & 2 rubygems

Version Path
tdiary-contrib-5.3.0 plugin/twitpic.rb
tdiary-contrib-5.2.4 plugin/twitpic.rb
tdiary-contrib-5.2.3 plugin/twitpic.rb
tdiary-contrib-5.2.2 plugin/twitpic.rb
tdiary-contrib-5.2.1 plugin/twitpic.rb
tdiary-contrib-5.2.0 plugin/twitpic.rb
tdiary-contrib-5.1.7 plugin/twitpic.rb
tdiary-contrib-5.1.6 plugin/twitpic.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/3.0.0/gems/tdiary-contrib-5.1.4/plugin/twitpic.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/bundler/gems/tdiary-contrib-d1e41204db13/plugin/twitpic.rb
tdiary-contrib-5.1.5 plugin/twitpic.rb
tdiary-5.1.5 vendor/bundle/ruby/3.0.0/gems/tdiary-contrib-5.1.4/plugin/twitpic.rb
tdiary-contrib-5.1.4 plugin/twitpic.rb
tdiary-contrib-5.1.3 plugin/twitpic.rb
tdiary-contrib-5.1.2 plugin/twitpic.rb
tdiary-contrib-5.1.1 plugin/twitpic.rb
tdiary-contrib-5.1.0 plugin/twitpic.rb
tdiary-contrib-5.0.13 plugin/twitpic.rb
tdiary-contrib-5.0.12 plugin/twitpic.rb
tdiary-contrib-5.0.11 plugin/twitpic.rb