Sha256: 2874182ca97f344c447dac9785df6d46123f15815ffaef8c1a4b9a705916e864

Contents?: true

Size: 585 Bytes

Versions: 6

Compression:

Stored size: 585 Bytes

Contents

# coding: utf-8

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

class Fig_A < Mustache

  include Fig_00, Fig_01

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

  @template = <<EOT
<figure>
  {{#imgs_list}}
  <a href="{{fig_src}}" 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_a.rb
zine_brewer-1.3.0 lib/zine_brewer/templates/fig_a.rb
zine_brewer-1.2.1 lib/zine_brewer/templates/fig_a.rb
zine_brewer-1.2.0 lib/zine_brewer/templates/fig_a.rb
zine_brewer-1.1.0 lib/zine_brewer/templates/fig_a.rb
zine_brewer-1.0.0 lib/zine_brewer/templates/fig_a.rb