Sha256: afdd2a38b2cc25e2d4c9c25936a8c7e0690612d891a6e9bd70b7800a46324fc8
Contents?: true
Size: 524 Bytes
Versions: 8
Compression:
Stored size: 524 Bytes
Contents
- open, close = Asciidoctor::BLOCK_MATH_DELIMITERS[@style.to_sym] - equation = content.strip - if (@subs.nil? || @subs.empty?) && !(attr? 'subs') - equation = sub_specialcharacters equation - unless (equation.start_with? open) && (equation.end_with? close) - equation = %(#{open}#{equation}#{close}) = html_tag('div', { :id => @id, :class => ['stemblock', role, ('fragment' if (option? :step) || (has_role? 'step') || (attr? 'step'))] }.merge(data_attrs(@attributes))) - if title? .title=title .content=equation
Version data entries
8 entries across 8 versions & 1 rubygems