Sha256: 692c1d16768d4d467ad7371fb2a83bd9b9cfa0f3eca398549463e1da6f500823
Contents?: true
Size: 568 Bytes
Versions: 3
Compression:
Stored size: 568 Bytes
Contents
# coding: utf-8 require 'mustache' require_relative 'fig/module_fig_base' class Fig_N < Mustache include Fig_00 # <<Fig_N>> # src: 画像ファイル名 # width: 画像幅 # height: 画像高さ # cap: キャプション # from: 出典 << 出典URL @template = <<EOT <figure> {{#imgs_list}} <img src="{{fig_src}}" loading="lazy" alt="{{alt}}"{{#width}} width="{{width}}"{{/width}}{{#height}} height="{{height}}"{{/height}} /> {{/imgs_list}} {{#caption}}<figcaption markdown="span">{{caption}}</figcaption>{{/caption}} </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_n.rb |
zine_brewer-1.8.0 | lib/zine_brewer/templates/fig_n.rb |
zine_brewer-1.7.0 | lib/zine_brewer/templates/fig_n.rb |