Sha256: 433091a787e6a3714ddd3c0e523bd883ee0d63595e8e66f3228b2727c9b5a629
Contents?: true
Size: 401 Bytes
Versions: 21
Compression:
Stored size: 401 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}) %div{:id=>@id, :class=>['mathblock', role]} - if title? .title=title .content=equation
Version data entries
21 entries across 21 versions & 1 rubygems