Sha256: 75906a88569f06ae781b70a5ee1f8106c076a69b2bda6bd6f5165bdf182fc96d
Contents?: true
Size: 386 Bytes
Versions: 54
Compression:
Stored size: 386 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}) .mathblock id=@id class=role - if title? .title=title .content=equation
Version data entries
54 entries across 21 versions & 1 rubygems