Sha256: 1757551d7dbf006dda452c97ae5cf993f0475f50f13dcce38b2c716b1ea18b62
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_H < Mustache include Fig_00 # <<Fig_H>> # src: 画像ファイル名 # href: 画像クリックで遷移するURL # width: 画像幅 # height: 画像高さ # cap: キャプション @template = <<EOT <figure> {{#imgs_list}} <a href="{{href}}" target="_blank"><img src="{{fig_src}}" loading="lazy" alt="{{alt}}"{{#width}} width="{{width}}"{{/width}}{{#height}} height="{{height}}"{{/height}} /></a> {{/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_h.rb |
zine_brewer-1.8.0 | lib/zine_brewer/templates/fig_h.rb |
zine_brewer-1.7.0 | lib/zine_brewer/templates/fig_h.rb |