Sha256: 2132a504ce55eeb7972942fbd69f28aaf65f10040ea57d433c297f9f0797b769
Contents?: true
Size: 660 Bytes
Versions: 4
Compression:
Stored size: 660 Bytes
Contents
- quote_tags = { emphasis: 'em', strong: 'strong', monospaced: 'code', superscript: 'sup', subscript: 'sub' } - if (quote_tag = quote_tags[@type]) = html_tag(quote_tag, { :id => @id, :class => [role, ('fragment' if (option? :step) || (attr? 'step'))].compact }.merge(data_attrs(@attributes)), @text) - else - case @type - when :double = inline_text_container("“#{@text}”") - when :single = inline_text_container("‘#{@text}’") - when :asciimath, :latexmath - open, close = Asciidoctor::INLINE_MATH_DELIMITERS[@type] = inline_text_container("#{open}#{@text}#{close}") - else = inline_text_container(@text)
Version data entries
4 entries across 4 versions & 1 rubygems