Sha256: 4102ec01a68e0eb7e335ae6f0c00fc3a7fe49ac42a8555a526a36c705d9620d5

Contents?: true

Size: 562 Bytes

Versions: 10

Compression:

Stored size: 562 Bytes

Contents

# coding: utf-8

require 'mustache'

require_relative 'fig/module_fig_base'

class Fig_A < Mustache

  include Fig_00

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

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

end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
zine_brewer-1.13.1 lib/zine_brewer/templates/fig_a.rb
zine_brewer-1.13.0 lib/zine_brewer/templates/fig_a.rb
zine_brewer-1.12.2 lib/zine_brewer/templates/fig_a.rb
zine_brewer-1.12.1 lib/zine_brewer/templates/fig_a.rb
zine_brewer-1.12.0 lib/zine_brewer/templates/fig_a.rb
zine_brewer-1.11.3 lib/zine_brewer/templates/fig_a.rb
zine_brewer-1.11.2 lib/zine_brewer/templates/fig_a.rb
zine_brewer-1.11.1 lib/zine_brewer/templates/fig_a.rb
zine_brewer-1.11.0 lib/zine_brewer/templates/fig_a.rb
zine_brewer-1.10.0 lib/zine_brewer/templates/fig_a.rb