Sha256: 27f4c3e2ae2323c3a0c1d9a24d4900da94b650e37034c8cd1c8fa39b64404834
Contents?: true
Size: 626 Bytes
Versions: 3
Compression:
Stored size: 626 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}}"{{#width}} width="{{width}}"{{/width}}{{#height}} height="{{height}}"{{/height}} /></a> {{/imgs_list}} <figcaption markdown="span">{{#caption}}{{& caption}}<br/>{{/caption}}[画像クリックで拡大表示]</figcaption> </figure> EOT end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
zine_brewer-1.9.0 | lib/zine_brewer/templates/fig_a.rb |
zine_brewer-1.8.0 | lib/zine_brewer/templates/fig_a.rb |
zine_brewer-1.7.0 | lib/zine_brewer/templates/fig_a.rb |