Sha256: cd8fe4dc4e25a6efbee84c9f2580b01509675b153024c3f87e5f4b4585ad54d4

Contents?: true

Size: 600 Bytes

Versions: 6

Compression:

Stored size: 600 Bytes

Contents

# coding: utf-8

require_relative 'fig/module_fig_base'
require_relative 'fig/module_fig_plus'

class Fig_Z < Mustache

  include Fig_00, Fig_01

  # <<Fig_Z>>
  # src: 画像ファイル名
  # width: 画像幅
  # height: 画像高さ
  # cap: キャプション

  @template = <<EOT
<figure>
  {{#imgs_list}}
  <a href="{{fig_src}}" rel="lightbox" target="_blank"><img src="{{fig_src}}" alt="{{alt}}" {{& img_style}}/></a>
  {{/imgs_list}}
  <figcaption markdown="span">{{#figcaption_sw}}{{& caption}}<br/>{{/figcaption_sw}}[画像クリックで拡大表示]</figcaption>
</figure>
EOT

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
zine_brewer-1.3.1 lib/zine_brewer/templates/fig_z.rb
zine_brewer-1.3.0 lib/zine_brewer/templates/fig_z.rb
zine_brewer-1.2.1 lib/zine_brewer/templates/fig_z.rb
zine_brewer-1.2.0 lib/zine_brewer/templates/fig_z.rb
zine_brewer-1.1.0 lib/zine_brewer/templates/fig_z.rb
zine_brewer-1.0.0 lib/zine_brewer/templates/fig_z.rb