Class: Metanorma::Plugin::Glossarist::NonVerbalFormatters::Figure
- Defined in:
- lib/metanorma/plugin/glossarist/non_verbal_formatters/figure.rb
Overview
Renders a Glossarist::Figure as an AsciiDoc image block.
Picks a single best image variant: vector (SVG) preferred for resolution-independence, then any first image. Subfigures are rendered recursively as separate image blocks so each carries its own anchor and caption.
Constant Summary collapse
- ROLE_PRIORITY =
%w[vector raster print light dark].freeze
Method Summary
Methods inherited from Base
Constructor Details
This class inherits a constructor from Metanorma::Plugin::Glossarist::NonVerbalFormatters::Base